Image Generation
Text-to-image and image-to-image generation. Submit a generation or edit request, then poll the task endpoint to retrieve the resulting image. Use a presigned upload URL to supply a source image for edits.
Endpoints
POST
Generate image from text
Generates one or more images from a text prompt using a text-to-image model. Returns a job to poll for the result.
POST
Generate image from image
Generates a new image from a source image and a text prompt using an image-to-image model. Returns a job to poll for the result.
GET
Get image upload URL
Returns a presigned URL for uploading a source image to use with image-to-image generation.
Was this page helpful?