Image models › 4o Image

Generate 4o Image

Generate 4o Image

image 4o 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": {
    "size": "1:1"
  },
  "model": "4o-image-generate-4-o-image"
}

Input parameters

NameTypeRequiredDescription
prompt string optional (Optional) Text prompt that conveys the creative idea you want the 4o model to render. Required if neither `files_url` nor `file_url` is supplied. At least one of `prompt` or `files_url` must be provided.
files_url array optional (Optional) Up to 5 publicly reachable image URLs to serve as reference or source material. Use this when you want to edit or build upon an existing picture. If you don’t have reliable hosting, upload your images first via our File Upload API quick‑start: Supported formats: .jfif, .pjpeg, .jpeg, .pjp, .jpg, .png, .webp. At least one of `prompt` or `files_url` must be provided.
size string required (Required) Aspect ratio of the generated image. Must be one of the listed values.
Values: 1:1, 3:2, 2:3
file_url string optional (Optional, Deprecated) File URL, such as an image URL. If file_url is provided, 4o image may create based on this image. This parameter will be deprecated in the future, please use files_url instead.

Pricing

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