SandBase is live — $1 in free credits on signupStart free ›
Use in agentVidu models

Vidu modelsimage generation api

vidu/q2/reference-to-image

Vidu Q2 Reference To Image by Shengshu - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly.

Input
Text prompt for video generation, max 1500 characters
The aspect ratio of the generated image. Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16.
Random seed for generation

PNG, JPEG, WebP, or GIF · 20 MiB maximum each

URLs of the reference images to use for consistent subject appearance
Idle

Example output — click Run to generate your own

API README

Vidu Q2 Reference to Image

Vidu Q2 Reference to Image is designed around the vidu/q2/reference-to-image workflow for reference to image work in image production. Teams can place this named operation inside review, asset preparation, and publishing pipelines while keeping the original request attached to every result. Vidu Q2 Reference To Image by Shengshu - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly. Because vidu/q2/reference-to-image is a separate catalog entry, evaluations should use this route’s own inputs, output expectations, and billing behavior. The endpoint is especially useful when a project has a defined transformation goal and needs a repeatable request contract instead of an ad-hoc desktop step. That scope belongs to this named route, not to a neighboring version.

The mandatory portion is prompt. For example, the route documentation includes “The little devil is looking at the apple on the beach and walking around it.”. Vidu Q2 Reference to Image exposes seed, prompt, aspect_ratio, reference_image_urls as its documented request surface. seed controls random seed for generation; prompt controls text prompt for video generation, max 1500 characters; aspect ratio controls the aspect ratio of the generated image; aspect ratio accepts 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16; reference image urls controls uRLs of the reference images to use for consistent subject appearance. Applications can submit that exact shape asynchronously, retain the chosen arguments in job metadata, and collect the resulting media URL for review or publishing.

Highlights

  • Prompt-responsive composition. Vidu Q2 Reference to Image turns detailed natural-language art direction into a complete visual with a defined subject, setting, and treatment.
  • Style range. The route can interpret photographic, illustrative, graphic, or conceptual direction when those choices are stated clearly in the prompt.
  • Layout control. Supported framing and composition controls help Vidu Q2 Reference to Image prepare imagery for landscape, square, portrait, or design-specific placements.
  • Iteration-ready output. Seed and other declared creative controls make it practical to compare focused variations while retaining the core brief.

Pricing

Billing optionPrice
Per request$0.100000

When to Use

ScenarioWhy it fits
Choose Vidu Q2 Reference to ImageUse it when the job specifically calls for reference to image and the route’s documented input contract matches assets already available in your workflow.
Keep the request reproducibleUse the required prompt explicitly, then record optional choices alongside the prompt for repeatable reruns.
Build controlled creative variationsChange one declared control at a time when comparing framing, format, duration, resolution, style, or other route-supported output decisions.
Integrate asynchronous deliveryUse this endpoint when an application can submit work, track completion, and collect the returned media URL instead of requiring an immediate inline artifact.
Validate before a large batchRun representative prompts and source assets first, confirm the visual or audio behavior, then lock the successful request shape for scaled production.

Prompt Guide

Lead with the subject or transformation, then add the composition, environment, style, lighting, motion, voice, or fidelity details relevant to this route. Keep every parameter inside the documented schema; the example below uses only fields declared for vidu/q2/reference-to-image.

{
  "prompt": "The little devil is looking at the apple on the beach and walking around it.",
  "aspect_ratio": "21:9"
}

Technical Specs

SpecificationDetails
Model IDvidu/q2/reference-to-image
Execution modeasync
Task typeimage
seedinteger · optional
promptstring · required
aspect_ratiostring · optional · choices: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16
reference_image_urlsarray · optional

Related Models

Related Models