Use a text prompt to generate an image.
Request
Body Params application/json
{
"text_prompts": [
{
"text": "Shiba inu"
}
],
"height": 1280,
"width": 1280,
"engine": "proteus",
"steps": 8,
"cfg_scale": 2
}
Request Code Samples
curl --location --request POST 'http://localhost:3000/api/vision-text-to-image' \
--header 'X-API-KEY;' \
--header 'Content-Type: application/json' \
--data-raw '{
"text_prompts": [
{
"text": "Shiba inu"
}
],
"height": 1280,
"width": 1280,
"engine": "proteus",
"steps": 8,
"cfg_scale": 2
}'
Responses
application/json {
"signed_urls": [
"https://corcel.b-cdn.net/b1f8e85c-81e9-430c-8e31-40405519d43c.webp"
]
}
Modified at 2024-06-12 14:04:38