image-o1
Model Overview
Setup your API Key
API Schema
post
Body
modelstring · enumRequiredPossible values:
promptstring · max: 4000Required
The text prompt describing the content, style, or composition of the image to be generated.
image_urlsstring · uri[] · min: 1 · max: 10Required
List of URLs or local Base64 encoded images to edit.
aspect_ratiostring · enumOptionalDefault:
The aspect ratio of the generated image.
16:9Possible values: resolutionstring · enumOptionalDefault:
The resolution of the output image.
1KPossible values: output_formatstring · enumOptionalDefault:
The format of the generated image.
pngPossible values: num_imagesnumber · min: 1 · max: 9OptionalDefault:
The number of images to generate.
1Responses
200Success
application/json
post
/v1/images/generations200Success
Quick Example
Reference Images
Generated Image


"Combine the images so the T-Rex is wearing a business suit, sitting in a cozy small café, drinking from the mug. Blur the background slightly to create a bokeh effect."
Last updated
Was this helpful?