agents
characters
evaluation
[Deprecated, use /api/v1/images/text-to-image instead] Generate images based on text description
Generate background images based on prompt, save directly to GCS, return image URLs
post/api/v1/ai/agents/text-to-image
Request body
Example request
{
"count": 2,
"enhance_prompt": true,
"negative_prompt": "blurry, low quality, explicit, NSFW",
"prompt": "A beautiful mountain landscape with sunset"
}Response
Successful Response
Changes
Changed in 2 of the 26 revisions of this API.2
- ○
added the new optional request property
new-optional-request-property
- ○
- ○
endpoint added
endpoint-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○