Skip to main content
POST
  1. After submission, a task_id will be returned. If you provided a callback_url, when the task status becomes finished or failed, a POST request will be sent to the callback_url.
  2. Regardless of whether callback_url is provided, you can retrieve the result through the unified Query Task Status endpoint.
Seedream 5.5 Text to Image creates one image per task from a 5–5,000 character prompt. Pick one of eight aspect ratios and a 1K, 1.5K or 2K resolution, and set background: transparent for a cut-out PNG ready for layouts, stickers and product mock-ups. Seedream 5.5 is ByteDance’s image model. Vidgo exposes three model IDs: Text to Image, Image Edit and Layerize.

Models

  • bytedance/seedream-v5.5/text-to-image — Text-to-image with Seedream 5.5, one image at 1K, 1.5K or 2K.

Features

  • Eight aspect ratios: 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9.
  • Three resolutions: 1K, 1.5K, 2K.
  • PNG or JPEG output, with transparent or opaque background control.
  • Optional content safety check.

Required parameters

  • prompt (string): Image description, 5–5,000 characters after trimming.

Optional parameters

  • size (string): 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3 or 21:9. Default 1:1.
  • resolution (string): 1K, 1.5K or 2K. Default 2K.
  • output_format (string): png or jpeg. Default png.
  • background (string): auto, transparent or opaque. Default auto.
  • enable_safety_checker (boolean): Default true.

Output

The finished task returns one image in the files array of Query Task Status and the callback payload, in the chosen output_format.

Examples

  • Documentary photo: a lighthouse keeper and an Atlantic puffin on an Icelandic sea cliff at dusk, 16:9, 2K (result).
  • Transparent PNG: a gouache red panda on a mossy branch with a transparent background, 1:1, 1.5K (result).
  • Scene with lettering: a Kyoto courtyard violinist beside a cedar plaque reading “雨後茶寮” and “AFTER RAIN”, 3:4, 2K (result).

Notes

  • background: transparent with output_format: jpeg returns 400; use png for transparent output.
  • size: auto is available on Seedream 5.5 Image Edit, where it follows the reference images.
  • Put model and callback_url at the request root, next to input. input accepts the fields listed above; other fields return 400.
  • Credits depend on resolution (1K and 1.5K share one rate; 2K has a higher rate). A failed task is refunded in full. See the pricing page for current rates.

Authorizations

Authorization
string
header
required

Use Authorization: Bearer VIDGO_API_KEY.

Body

application/json
model
string
required
Example:

"bytedance/seedream-v5.5/text-to-image"

input
object
required
callback_url
string<uri>

Optional webhook URL for completion or failure notifications.

Example:

"https://your-domain.com/callback"

Response

Task submission result. A task ID identifies asynchronous work; generation may still be running.

code
integer
required
Example:

200

data
object
required