Generate images from a text prompt without input images.
Provide a prompt describing the desired image. Returns base64-encoded PNG images and billing metadata.
Request body for the generate endpoint.
Provide a text prompt describing the image you want to create.
Reference profiles inline using [[profile_id]] syntax to
specify which people should appear in the generated image.
Text prompt describing the desired edit.
Number of output images to generate (1-4).
1 <= x <= 4Output aspect ratio (auto, 1:1, 3:4, 4:3, 9:16, 16:9).
auto, 1:1, 3:4, 4:3, 9:16, 16:9 Output resolution (1K, 4K).
1K, 4K Successful Response
Response returned by the edit and generate endpoints.
Base64-encoded PNG output image(s).
Dictionary mapping a known subject's profile_id to the number of times they were generated. If multiple variations are generated, this will be the aggregated count across all variations.