AI Influencer
Text to image
Starting price $0.08 / image
By ShengShu
Vidu Reference to Image makes a new still image from your prompt, using reference images to keep a subject's look the same.
vidu/reference-to-imageQuote 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/reference-to-image",
"input": {
"prompt": "The character from the reference sits on a train seat by the window, reading a paperback, soft morning light and fields passing outside.",
"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/reference-to-image", "quote_id": "QUOTE_ID", "input": {"prompt":"The character from the reference sits on a train seat by the window, reading a paperback, soft morning light and fields passing outside.","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.
Upload one or more reference images of a person, character, product or place and describe the new picture. The subject keeps its appearance from the references while the scene, pose and action follow your prompt. The output is 16:9, 9:16 or 1:1.
Compare identifying features, clothing and proportions against the references; inspect overlaps between subjects.