GPT-Image 2

POST/api/v2/gpt-image-2
View model page 36 credits per image

GPT-Image 2 with near-perfect text rendering and edit/inpaint support

Request body

prompt

Text description of the image to generate.

batch

Number of images to generate (1-4).

settings.image_size

Output size preset. Use `auto` to let the model pick. For custom dimensions, set `width` + `height` instead (both multiples of 16, max edge 3840px).

settings.width

Custom output width in pixels. Must be set together with `height`. Overrides `image_size` when both are provided.

settings.height

Custom output height in pixels. Must be set together with `width`. Overrides `image_size` when both are provided.

settings.quality

Generation quality tier. Default: high.

settings.seed

Optional random seed.

settings.output_format

Output image format. Default: png.

webhook
workspace_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.