Seedream 5.5
Text to image · Image editing
Starting price $0.05 / image
By ShengShu
Vidu Q2 Image makes a still image from a written prompt, or from reference images that keep a subject's look the same.
vidu/q2/reference-to-imageThis model has other modes with their own ids: vidu/q2/text-to-image.
Quote the input, start the generation with the quote, then poll the job. Set RAYWAKE_API_KEY first; see Authentication.
# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "vidu/q2/reference-to-image",
"input": {
"prompt": "The character from the reference images sitting at a beach cafe at sunset, holding a glass of lemonade and smiling.",
"reference_image_urls": [
"https://example.com/input.png"
]
}
}'
# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"model": "vidu/q2/reference-to-image", "quote_id": "QUOTE_ID", "input": {"prompt":"The character from the reference images sitting at a beach cafe at sunset, holding a glass of lemonade and smiling.","reference_image_urls":["https://example.com/input.png"]}}'
# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
-H "Authorization: Bearer $RAYWAKE_API_KEY"| Name | Type | Description |
|---|---|---|
promptrequired | string | Describe the image to create, up to 1,500 characters. |
reference_image_urlsrequired | array of image URLs | URLs of the reference images to use for consistent subject appearance |
aspect_ratio | string (enum) | The aspect ratio of the output image. |
seed | integer | Random seed for generation |
A succeeded job lists its results under outputs, stored on our side. See Jobs for every field.
"outputs": [
{ "type": "image", "url": "https://…", "mime_type": "image/png", "thumbnail_url": "https://…" }
]The exact charge for your input comes from a quote. How charges settle
Fields marked * are required. Review the price before generating.
Vidu Q2 Image works in three shapes: 16:9, 9:16 and 1:1, with prompts of up to 1500 characters. The reference mode takes your images of a subject and keeps its appearance in the new picture, which helps when one character or product must stay consistent.
Check subject count, small objects and any lettering before treating the image as a finished asset.