Skip to main content
POST
  1. Submit the request with VIDGO_API_KEY. A task_id is returned. Keep it until the task reaches finished or failed.
  2. Use Query Task Status to retrieve the result. If you provide a callback_url, Vidgo sends the result to your webhook when the task finishes or fails.

GPT Image 2.5 Flare Text to Image

Usage Guide

Generate one image with GPT Image 2.5 Flare using a text prompt.
  • Set model to openai/gpt-image-2.5-flare/text-to-image.
  • Place model and optional callback_url at the request root; place workflow parameters inside input.
  • Each request produces one image.
  • For reference-image editing, use Image Edit with model=openai/gpt-image-2.5-flare/edit.

Parameter Details

  • prompt is required. Supply non-blank text of up to 32,000 characters.
  • size defaults to 1:1. auto is available only with resolution=1K.
  • Custom WIDTHxHEIGHT dimensions require 2K or 4K. Both edges must be positive multiples of 16, the longest edge must not exceed 3,840 pixels, the aspect ratio must not exceed 3:1, and total pixels must be between 655,360 and 8,294,400. A 3,840-pixel edge requires 4K.
  • A transparent background requires output_format=png or webp.

Developer Notes

  • Submission is asynchronous. Use the task status endpoint or a completion webhook to retrieve the final image.
  • Billing is per output image and depends on quality and the requested resolution tier. Aspect-ratio requests keep the selected tier; actual image dimensions may vary.
  • Credits are deducted on submission and refunded if the task fails.

Optional parameters

  • size (string): Use auto, 1:1, 2:3, 3:2, 4:3, 3:4, 4:5, 5:4, 16:9, 9:16, 21:9, or custom WIDTHxHEIGHT dimensions. Default: 1:1.
  • resolution (string): Output resolution tier. Accepted values: 1K, 2K, 4K. Default: 1K.
  • output_format (string): Output image format. Transparent output requires PNG or WebP. Accepted values: png, jpeg, webp. Default: png.
  • quality (string): Image quality tier. Billing depends on quality and the requested resolution tier. Accepted values: low, medium, high, xhigh, max. Default: high.
  • background (string): Background mode. Transparent output requires PNG or WebP. Accepted values: auto, transparent, opaque. Default: auto.

Authorizations

Authorization
string
header
required

Use Authorization: Bearer VIDGO_API_KEY.

Body

application/json
model
string
required
Example:

"openai/gpt-image-2.5-flare/text-to-image"

input
object
required
callback_url
string<uri>

Optional webhook URL for completion or failure notifications.

Example:

"https://your-domain.com/callback"

Response

Task submission result. A task ID identifies asynchronous work; generation may still be running.

code
integer
required
Example:

200

data
object
required