Image models › GPT Image

GPT Image 2 - Image To Image

GPT Image 2 - Image To Image

image GPT Image 8 tokens per image $0.005 per token

Pricing

OptionTokensUnit≈ USD
image-to-image, 1k8per image$0.0400
image-to-image, 2k13per image$0.0650
image-to-image, 4k21per image$0.1050

The price is held when the task is created and settled to actual consumption when it completes; a failed task releases the hold.

How to order

This is the image-to-image twin of gpt-gpt-image-2-text-to-image: create the series with that id in model and attach reference images — the service switches to this model by itself. Its own id is not accepted in a series.

POST https://app.video-blade.com/api/v1/projects/{id}/image-series
X-API-Key: vb_…
Content-Type: application/json

{"title": "…", "prompt": "…", "model": "gpt-gpt-image-2-text-to-image", "aspect_ratio": "9:16", "count": 2, "references": [{"url": "https://…"}]}

POST https://app.video-blade.com/api/v1/projects/{id}/image-series/{item_id}/generate
→ 202 {"generation_ids": ["…"], "status": "running", "tokens_held": …}

Field lists and refusal codes — API reference.

Model parameters

What the model itself understands; the ordering calls above take their own fields and pass these on.

NameTypeRequiredDescription
prompt string required Text prompts, up to 20,000 characters.
input_urls array required Array of input image URLs.
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