VidMage

VidMage is an AI video and image creation platform for creators. Turn your ideas and images into videos and fresh visuals.

Open the creator tools
Explore APIs
AI Video APIsAI Image APIsAI Audio APIsAI 3D APIsAI Face Swap APIsAI Effects APIs
Build with VidMage
QuickstartAPI keysVidMage MCPError reference
Your account
Developer consoleAbout VidMagePlans and creditsAPI billingContact support
© 2026 VidMage. All rights reserved.
Privacy PolicyTerms of ServiceReport Abuse
Skip to content
VidMage/Developers
Overview
APIs
All APIsAI Video APIsAI Image APIsAI Audio APIsAI 3D APIsAI Face Swap APIsAI Effects APIs
DocumentationVidMage MCPOpen console
Developers/Documentation/GPT Image 2.6 Generator API documentation
Start here
DocumentationQuickstartAuthentication
Core workflows
File uploadsTask lifecycleCredits and billingErrors and recoveryVidMage MCP
Browse documentation
All API documentation
Video documentation 37AI Video Head SwapAI Video Face SwapAI Multiple Face Swap VideoAI Text to VideoAI Image to VideoAI Video to VideoAI Video ExtenderAI Video to Anime ConverterAI Video Background RemoverAI Video Watermark RemoverSora Link Watermark RemoverSora 2 Video GeneratorAI Photo DanceAI Motion ControlAI Talking PhotoAI Lip SyncAI Subtitle GeneratorAI Video UpscalerKling AI Video GeneratorPixVerse AI Video GeneratorHailuo AI Video GeneratorMiniMax H3 AI Video GeneratorMuse Video GeneratorGrok Video GeneratorSora 2 AI Video GeneratorWan AI Video GeneratorWan 3.0 AI Video GeneratorSeedance 2.0 AI Video GeneratorSeedance 2.5 AI Video GeneratorSeedance AI Video GeneratorMidjourney Video GeneratorVidu AI Video GeneratorVeo 3.1 AI Video GeneratorKling 3.0 AI Video GeneratorSkyReels AI Video GeneratorHappyHorse AI ModelRunway AI Video Generator
Image documentation 28AI Photo Face SwapAI Head SwapAI Multiple Face SwapAI Text to ImageAI Image to ImageAI Girl GeneratorAI Hairstyle ChangerAI Clothes ChangerAI Object RemoverAI Image Watermark RemoverAI Image UpscalerGPT Image 2 Image to ImageAI GIF Face SwapMidjourney AI Image GeneratorGrok AI Image GeneratorNano Banana AI Image GeneratorNano Banana 2.1 AI Image GeneratorSeedream 5.5 AI Image GeneratorGPT Image 2.6 GeneratorMiniMax H3 Image GeneratorGPT Image GeneratorSeedream AI Image GeneratorZ-Image AI ModelWan Image GeneratorQwen Image GeneratorQwen 3.0 Image GeneratorGPT Image 2 GeneratorGPT Image 2.5 Generator
Audio documentation 3AI Voice CloneAI Voice DesignAI Text to Music
3d documentation 3AI Image to 3DAI Four-View to 3DAI Text to 3D

GPT Image 2.6 Generator API documentation

Generate images with GPT Image 2.6 Generator in VidMage. Supports both text and image input modes.

On this page01 / 08
01Endpoints02Parameters and input rules03text to image04image edit05Example request06Task results and recovery07Credits08Integration guides

Endpoints

Contract itemValue
Capabilitygpt-image-2-6-generator
SubmitPOST https://vidmage.ai/api/v1/gpt-image-2-6-generator/submit
QueryPOST https://vidmage.ai/api/v1/gpt-image-2-6-generator/query
Task identifiertaskId
Result fieldimageUrl

Authenticate with Authorization: Bearer YOUR_API_KEY. Save the task identifier and query the same capability. Use a stable Idempotency-Key for submission retries.

Product guide: GPT Image 2.6 API

Parameters and input rules

FieldTypeRequiredDefaultMeaning and limits
modestringNo"text-to-image"Explicit operation selector. Omit to infer from the supplied inputs.
Values: "text-to-image", "image-edit"
promptstringYesNot specifiedText prompt describing the image to generate (max 32000 chars). For an unspecified character or figurine, use an original non-branded character with no logos and no resemblance to existing copyrighted superheroes; preserve any character the user explicitly names.
Minimum characters: 1
Maximum characters: 32000
imageUrlstringNoNot specifiedOptional input image URL. When provided, the task runs in image operation mode.
imageUrlsstring[]NoNot specifiedOrdered input image URLs for image editing mode. The prompt can reference them by their one-based order. Up to 50 MB per file.
Minimum items: 1
Maximum items: 16
sizestringNo"auto"Output size such as auto or WIDTHxHEIGHT.
Minimum characters: 1
Maximum characters: 32
backgroundstringNo"auto"Output background mode.
Values: "auto", "transparent", "opaque"
qualitystringNo"auto"Generation quality.
Values: "auto", "low", "medium", "high", "xhigh", "max"
outputFormatstringNo"png"Output format.
Values: "jpeg", "png", "webp", "gif", "svg"
complexitystringNoNot specifiedPlanning intensity before generation.
Values: "low", "medium", "high"
frameCountintegerNoNot specifiedGIF frame count; use only with GIF output. Applies when outputFormat is gif.
Minimum: 2
Maximum: 16
frameDurationMsintegerNoNot specifiedGIF frame duration in milliseconds. Applies when outputFormat is gif.
Minimum: 20
Maximum: 2000
Multiple of: 10
outputCompressionintegerNoNot specifiedJPEG or WEBP compression value. Applies when outputFormat is jpeg or webp.
Minimum: 0
Maximum: 100

text to image

Input media selects the mode. Use the VidMage field names and mode limits below together with the parameter table.

ControlMode-specific rule
promptRequired; 2–32000 characters.
aspectRatioNot used in this mode.
resolutionNot used in this mode.
sizeOutput size such as auto or WIDTHxHEIGHT.
Minimum characters: 1
Maximum characters: 32
Default: "auto"
backgroundOutput background mode.
Values: "auto", "transparent", "opaque"
Default: "auto"
qualityGeneration quality.
Values: "auto", "low", "medium", "high", "xhigh", "max"
Default: "auto"
outputFormatOutput format.
Values: "jpeg", "png", "webp", "gif", "svg"
Default: "png"

image edit

Input media selects the mode. Use the VidMage field names and mode limits below together with the parameter table.

ControlMode-specific rule
promptRequired; 1–32000 characters.
aspectRatioNot used in this mode.
resolutionNot used in this mode.
imageUrlsUp to 16 files. Maximum 50 MB per file. Formats: jpg, jpeg, png, webp.
ReferencesAt least one reference input is required.
sizeOutput size such as auto or WIDTHxHEIGHT.
Minimum characters: 1
Maximum characters: 32
Default: "auto"
backgroundOutput background mode.
Values: "auto", "transparent", "opaque"
Default: "auto"
qualityGeneration quality.
Values: "auto", "low", "medium", "high", "xhigh", "max"
Default: "auto"
complexityPlanning intensity before generation.
Values: "low", "medium", "high"
outputFormatOutput format.
Values: "jpeg", "png", "webp", "gif"
Default: "png"
frameCountGIF frame count; use only with GIF output.
Minimum: 2
Maximum: 16
frameDurationMsGIF frame duration in milliseconds.
Minimum: 20
Maximum: 2000
Multiple of: 10
outputCompressionJPEG or WEBP compression value.
Minimum: 0
Maximum: 100

Example request

{
  "prompt": "A polished editorial product image with natural light and precise typography",
  "size": "auto",
  "background": "auto",
  "quality": "auto",
  "outputFormat": "png"
}
# Set VIDMAGE_IDEMPOTENCY_KEY to a unique value for this task; preserve it for transport retries.
curl -X POST "https://vidmage.ai/api/v1/gpt-image-2-6-generator/submit" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: ${VIDMAGE_IDEMPOTENCY_KEY}" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"A polished editorial product image with natural light and precise typography","size":"auto","background":"auto","quality":"auto","outputFormat":"png"}'
# -> { "success": true, "taskId": "...", "creditsConsumed": ... }

Task results and recovery

URL of the generated image. Read imageUrl from the completed query response. Preserve taskId while the task is running.

curl -X POST "https://vidmage.ai/api/v1/gpt-image-2-6-generator/query" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "taskId": "TASK_ID_FROM_SUBMIT" }'
# -> { "success": true, "data": { "status": "...", "imageUrl": "https://..." } }

Submission and task queries report the available task and usage information. A timeout is not a confirmed failure. Recover the existing task instead of resubmitting.

For face selection and error recovery, follow Task lifecycle. MCP uses the normalized taskId argument in get_task_result, including capabilities whose REST identifier is requestId.

Credits

Component / optionRateMinimum
Base rate10 credits / generation—

Base charge is per generation at the selected resolution.

Use the Playground or the MCP credit estimator for your exact inputs. Credits and billing.

Integration guides

Authentication · File uploads · Task lifecycle · Error recovery · MCP

Reference generated from the current API contractDocumentation home ↗