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/Seedream 5.5 API

Seedream 5.5 API

Create a new image, edit references, or decompose a source image into a base and editable layers.

Get API keyView API docs
Abstract illustration for Seedream 5.5 API
PlaygroundAPIPricingGuideFAQs

Seedream 5.5 API Playground

Use your existing API key and subscription. Submitting a generation uses credits; uploading and preparing a request does not start a generation.

API access is available to subscribers only. Your subscription credits are shared across the website and the API.

View plans

Parameter

14 parameters

Explicit operation selector. Omit to infer from the supplied inputs.(Optional)

Default: text-to-image

Text prompt describing the image to generate (max 5000 chars). Optional when the selected image operation is fully defined by its source image. 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.(Optional)

Optional input image URL. When provided, the task runs in image operation mode.(Optional)

Ordered input image URLs for image editing mode. The prompt can reference them by their one-based order. Up to 30 MB per file.(Optional)

minItems 1maxItems 10

Output resolution tier.(Optional)

Default: 2k

Output width in pixels. Used when resolution is not selected.(Optional)

Default: 1024min 240max 8595

Output height in pixels. Used when resolution is not selected.(Optional)

Default: 1024min 240max 8595

Output image format.(Optional)

Default: png

Whether to add a watermark.(Optional)

Default: false

Output background mode.(Optional)

Default: auto

Prompt optimization mode.(Optional)

Default: standard

Optional end-user identifier.(Optional)

Maximum number of layers including the base image.(Optional)

Default: 30min 2max 100

Whether to recognize text in layers.(Optional)

Default: false

Request code

#!/usr/bin/env bash
set -euo pipefail
# Set this once per intended task; preserve it and the body for transport retries.
: "${VIDMAGE_IDEMPOTENCY_KEY:?Set a unique key for this task}"

SUBMIT_RESPONSE="$(curl --fail-with-body --silent --show-error -X POST "https://vidmage.ai/api/v1/seedream-5-5-ai-image-generator/submit" \
  -H "Authorization: Bearer ${VIDMAGE_API_KEY}" \
  -H "Idempotency-Key: ${VIDMAGE_IDEMPOTENCY_KEY}" \
  -H "Content-Type: application/json" \
  --data-raw '{
  "mode": "layer-decomposition",
  "prompt": "A carefully arranged product still life with clear foreground, middle-ground, and background objects",
  "imageUrl": "https://vidmage.ai/assets/images/samples/blue-eyed-woman-sunlight.webp",
  "resolution": "auto",
  "outputFormat": "png",
  "watermark": "false",
  "optimizePromptMode": "standard",
  "maxImages": 30,
  "textRecognition": "false"
}')"
TASK_ID="$(printf '%s' "$SUBMIT_RESPONSE" | jq -er '.["taskId"]')"

while true; do
  QUERY_RESPONSE="$(curl --fail-with-body --silent --show-error -X POST "https://vidmage.ai/api/v1/seedream-5-5-ai-image-generator/query" \
    -H "Authorization: Bearer ${VIDMAGE_API_KEY}" \
    -H "Content-Type: application/json" \
    --data-raw "{\"taskId\":\"${TASK_ID}\"}")"
  STATUS="$(printf '%s' "$QUERY_RESPONSE" | jq -r '(.status // .data.status // "") | ascii_downcase')"
  case "$STATUS" in
    success|succeeded|completed)
      RESULT="$(printf '%s' "$QUERY_RESPONSE" | jq -r '(.result // .["imageUrl"] // .data["imageUrl"] // empty)')"
      if [ -z "$RESULT" ]; then
        printf '%s' "Result missing; preserve task $TASK_ID and query the same task again. Do not resubmit." >&2
        exit 2
      fi
      printf '%s\n' "$RESULT"
      break
      ;;
    needs_input)
      printf '%s' "Face selection required; preserve task $TASK_ID" >&2
      exit 2
      ;;
    failed|error)
      printf '%s' "$QUERY_RESPONSE" | jq -r '(.message // .error // .data.error // "Task failed")' >&2
      exit 1
      ;;
  esac
  sleep 5
done

Response data

Submit the task to see the API response here.
PlaygroundCapabilities

API documentation

Submit a request, track the task, and retrieve your result.

Inputs
Varies by mode. See input rules below.
Output
Image·imageUrl
Request setup & limitsHeaders, input options and media limits

Request headers

Authorization
Bearer YOUR_API_KEY

Keep your API key on your server.

Content-Type
application/json
Idempotency-Key
YOUR_UNIQUE_KEY

Use a new key per task. Reuse it only when retrying the same submission.

Input options & limits

Request controls follow each task's parameter rules; they do not guarantee output properties.

Seedream 5.5 AI Image Generator

Modes: text-to-image, image-edit, layer-decomposition

Additional inputs; requirements vary by mode

prompt imageUrl imageUrls maxImages

Media limits by mode
  • Image EditImage: jpg, jpeg, png, webp; up to 30 MB per file; up to 10 files
  • Layer DecompositionImage: jpg, jpeg, png, webp, bmp, tiff, gif; up to 30 MB per file; up to 1 file
Request controls
  • mode: "text-to-image", "image-edit", "layer-decomposition"
  • resolution: "1k", "1.5k", "2k", "3k", "auto"
  • width: default 1024
  • height: default 1024
  • outputFormat: "png", "jpeg"
  • watermark: "false", "true"
  • background: "auto", "transparent", "opaque"
  • optimizePromptMode: "standard"

Input retention and output-link lifetime depend on the API contract. Confirm API-specific retention terms before making promises to your users. Upload guide ↗

Seedream 5.5 AI Image Generator

POST /api/v1/seedream-5-5-ai-image-generator/submit

Full API documentation ↗

Required inputs

Required inputs depend on the selected mode. Check the mode rules below before submitting.

Edit the sample inputs for your own task before submitting.

Seedream 5.5 AI Image Generator request
# Set VIDMAGE_IDEMPOTENCY_KEY to a unique value for this task; preserve it for transport retries.
curl -X POST "https://vidmage.ai/api/v1/seedream-5-5-ai-image-generator/submit" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: ${VIDMAGE_IDEMPOTENCY_KEY}" \
  -H "Content-Type: application/json" \
  -d '{"imageUrl":"https://vidmage.ai/assets/images/samples/blue-eyed-woman-sunlight.webp","mode":"layer-decomposition","prompt":"A carefully arranged product still life with clear foreground, middle-ground, and background objects","resolution":"auto","maxImages":30,"textRecognition":"false","outputFormat":"png","watermark":"false","optimizePromptMode":"standard"}'
# -> { "success": true, "taskId": "...", "creditsConsumed": ... }
Parameters and input rules14 fields
FieldTypeRequiredDefaultMeaning and limits
modestringNo"text-to-image"Explicit operation selector. Omit to infer from the supplied inputs. Values: "text-to-image", "image-edit", "layer-decomposition" · Default: "text-to-image"
promptstringNoNot specifiedText prompt describing the image to generate (max 5000 chars). Optional when the selected image operation is fully defined by its source image. 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. Maximum length: 5000
imageUrlstringNoNot specifiedOptional input image URL. When provided, the task runs in image operation mode. No additional field constraint listed.
imageUrlsstring[]NoNot specifiedOrdered input image URLs for image editing mode. The prompt can reference them by their one-based order. Up to 30 MB per file. Minimum items: 1 · Maximum items: 10
resolutionstringNo"2k"Output resolution tier. Values: "1k", "1.5k", "2k", "3k", "auto" · Default: "2k"
widthnumberNo1024Output width in pixels. Used when resolution is not selected. Default: 1024 · Minimum: 240 · Maximum: 8595 · Whole numbers only
heightnumberNo1024Output height in pixels. Used when resolution is not selected. Default: 1024 · Minimum: 240 · Maximum: 8595 · Whole numbers only
outputFormatstringNo"png"Output image format. Values: "png", "jpeg" · Default: "png"
watermarkstringNo"false"Whether to add a watermark. Values: "false", "true" · Default: "false"
backgroundstringNo"auto"Output background mode. Values: "auto", "transparent", "opaque" · Default: "auto"
optimizePromptModestringNo"standard"Prompt optimization mode. Values: "standard" · Default: "standard"
safetyIdentifierstringNoNot specifiedOptional end-user identifier. Minimum length: 0 · Maximum length: 64
maxImagesnumberNo30Maximum number of layers including the base image. Default: 30 · Minimum: 2 · Maximum: 100 · Whole numbers only
textRecognitionstringNo"false"Whether to recognize text in layers. Values: "false", "true" · Default: "false"
Mode-specific fields & media limits
Text To Image rules
ControlMode-specific rule
promptRequired; minimum 5 characters; maximum 5000 characters
resolutionValues: "1k", "1.5k", "2k", "3k"; mode default: "2k"
widthRange: 240 to 8595; Default: 1024
heightRange: 240 to 8595; Default: 1024
outputFormatValues: "png", "jpeg"; Default: "png"
watermarkValues: "false", "true"; Default: "false"
backgroundValues: "auto", "transparent", "opaque"; Default: "auto"
optimizePromptModeValues: "standard"; Default: "standard"
safetyIdentifierMaximum characters: 64
Image Edit rules
ControlMode-specific rule
promptRequired; minimum 5 characters; maximum 5000 characters
resolutionValues: "1k", "1.5k", "2k", "3k"; mode default: "2k"
imageUrlsImage input; up to 10 items
widthRange: 240 to 8595; Default: 1024
heightRange: 240 to 8595; Default: 1024
outputFormatValues: "png", "jpeg"; Default: "png"
watermarkValues: "false", "true"; Default: "false"
backgroundValues: "auto", "transparent", "opaque"; Default: "auto"
optimizePromptModeValues: "standard"; Default: "standard"
safetyIdentifierMaximum characters: 64
Layer Decomposition rules
ControlMode-specific rule
promptOptional; minimum 0 characters; maximum 2000 characters
resolutionValues: "auto", "1k", "1.5k", "2k", "3k"; mode default: "auto"
imageUrlImage input; up to 1 items
maxImagesRange: 2 to 100; Default: 30
textRecognitionValues: "false", "true"; Default: "false"
outputFormatValues: "png", "jpeg"; Default: "png"
watermarkValues: "false", "true"; Default: "false"
optimizePromptModeValues: "standard"; Default: "standard"
safetyIdentifierMaximum characters: 64

Retrieve the result

Save taskId from the accepted submission and send it to this endpoint:

POST /api/v1/seedream-5-5-ai-image-generator/query

Use the same Bearer API key. On completion, read the imageUrl result field.

Task states and recovery ↗
Seedream 5.5 AI Image Generator query
curl -X POST "https://vidmage.ai/api/v1/seedream-5-5-ai-image-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://..." } }

Pricing

See what one image, video, or generation costs in credits. Your API and website activity share the same credit balance.

API credit rates and calculated example request costs
API / workflowExample requestPrice (credits)
Seedream 5.5 AI Image Generatorimage API1 image request: 10 creditsmode: layer-decomposition · resolution: auto
How this is calculated
  • 1k: 10 credits / generation
  • 1.5k: 10 credits / generation
  • 2k: 15 credits / generation
  • 3k: 30 credits / generation
  • auto: 10 credits / generation

Base charge is per generation at the selected resolution.

Estimate your own request ↗
10–30 credits / generationBase rate varies by settings or workflow
Billed in credits. Shared with the website.Active subscription required. Unit rates and examples follow current API credit rules.Billing details⌄

Examples show the charge for the inputs listed above. Resolution, duration, audio, output count and reference media can change the total. Minimum charges and rounding follow the selected API.

Use the Playground to estimate your request before submitting it. Estimates do not start a generation. Subscription and credit-pack prices are listed on the plans page.

Your task’s recorded usage is the source of truth for the final charge.

View plans ↗Billing guide ↗

About Seedream 5.5 API

Seedream 5.5 AI Image Generator gives applications one public contract for text-to-image, reference editing, and layer decomposition.

Seedream 5.5 API capabilities

Create from text
Send a prompt with supported framing and resolution controls.
Edit references
Attach up to ten references and describe what should change.
Decompose layers
Send one source image to receive a base image and ordered editable layers.

What you can build

Campaign stills

Create and refine product or campaign compositions.

Design handoff

Separate a flattened visual into editable assets.

Poster revisions

Keep visual structure available for later changes.

How to use Seedream 5.5 API

  1. Get an API key

    Create a key in the Developer Console.

  2. Choose the operation

    Select text, edit, or layer decomposition.

  3. Track the task

    Save taskId and query until completion.

  4. Retrieve the result

    Read image URLs and layer metadata.

Input tips
Keep requests explicit
Send only documented fields.

Input requirementsUpload local files

Task fields and results

Keep the task identifier with its original request and Idempotency-Key. Query the same capability until it completes, then read the documented result field.

Task identifier
taskId
Query route
POST /api/v1/seedream-5-5-ai-image-generator/query
Completed result
imageUrl
Task states and response structure ↗
Errors, retries and limits

Retry transport failures with the same idempotency key only when the original submission may not have reached the server. For a confirmed task, keep querying the original task instead of submitting a duplicate.

Read error recovery guidance ↗

FAQs

Are failed requests charged?

Confirmed failures are refunded when the outcome is certain.

Billing ↗
How long should polling continue?

Use retry guidance and query the same task.

Tasks ↗
Can I use MCP?

Yes, the same capability is available through MCP.

MCP ↗
Can I receive a webhook?

The contract documents status queries rather than webhooks.

Tasks ↗

Explore more APIs on VidMage