Image models › GPT Image

GPT Image-2 - Text to Image

GPT Image-2 - Text to Image

image GPT Image price on request

Request

POST https://app.video-blade.com/api/v1/generations
X-API-Key: vb_…
Content-Type: application/json

{
  "callback_url": "https://your-app.example/callbacks/video-blade",
  "input": {
    "prompt": "\u2026"
  },
  "model": "gpt-gpt-image-2-text-to-image"
}

Input parameters

NameTypeRequiredDescription
prompt string required Text prompt. Required, maximum 20,000 characters.
aspect_ratio string optional The aspect ratio of the generated image is set to auto by default. Note: for 2K resolution, the following aspect ratios are not supported: 5:4, 4:5, 3:1, 1:3, and 9:21. for 4K resolution, the following aspect ratios are not supported: 3:1, 1:3, and 9:21.
Values: auto, 1:1, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 16:9, 9:16, 2:1, 1:2, 3:1, 1:3, 21:9, 9:21
resolution string optional Image resolution: Note: Images with a 1:1 aspect ratio cannot be converted to 4K images. Images with the aspect ratio set to "auto" or without a specified aspect ratio parameter will only be converted to 1K images; otherwise, the task will fail to create.
Values: 1K, 2K, 4K
background string optional Image background Note: This parameter is only supported when the resolution is 1K.
Values: transparent, opaque, auto

Pricing

Price on request; the charge is settled from actual consumption with the image coefficient ×2.0. See Pricing & tokens.