GPT-Image 2 with near-perfect text rendering and edit/inpaint support
Request body
promptText description of the image to generate.
batchNumber of images to generate (1-4).
settings.image_sizeOutput size preset. Use `auto` to let the model pick. For custom dimensions, set `width` + `height` instead (both multiples of 16, max edge 3840px).
settings.widthCustom output width in pixels. Must be set together with `height`. Overrides `image_size` when both are provided.
settings.heightCustom output height in pixels. Must be set together with `width`. Overrides `image_size` when both are provided.
settings.qualityGeneration quality tier. Default: high.
settings.seedOptional random seed.
settings.output_formatOutput image format. Default: png.
webhookworkspace_id Sign in to run the playground
Request example
curl -X POST "https://influencerstudio.com/api/v2/gpt-image-2" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Output
Run the model to see results
Real outputs will stream into this panel as the request completes.