Pricing
Compare models →Pricing is per generated image, based on the selected resolution and number of reference images. A run with default settings (1080p) costs $0.04 per run.
| Number of reference images | 1080p | 2K | 4K |
|---|---|---|---|
| 1 reference image | $0.04 | $0.06 | $0.10 |
| 3 reference images | $0.04 | $0.06 | $0.10 |
| 4 reference images | $0.05 | $0.10 | $0.15 |
| 6 reference images | $0.05 | $0.10 | $0.15 |
Runs with 1 to 3 reference images are priced the same as the 3-image row; runs with 4 to 7 reference images are priced the same as the 4-image row.
Billing Rules
- Reference images are included in the listed price.
aspect_ratioandseeddo not add separate charges.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The text prompt for generating the image. |
imagesRequired | array | The reference image to guide the generation.Items: 0–7JSON schema{
"items": {
"type": "string"
}
} |
aspect_ratio | string | The aspect ratio for the generated image. 'auto' Generated image aspect ratio is consistent with the first input images.auto1:116:99:164:33:421:92:33:2"auto" |
resolution | string | The output resolution quality: 1080p (1920x1080), 2K (2560x1440), or 4K (3840x2160).1080p2K4K"1080p" |
seed | integer | The random seed to use for the generation. -1 means a random seed will be used. |
README
vidu/reference-to-image-q2 — High-res reference-guided image generation
vidu/reference-to-image-q2 is the reference-guided sibling of vidu’s text-to-image model. It takes one or more reference images (up to 7) plus a prompt, and generates new, high-resolution images that keep the subject and composition while adjusting style, lighting, or scene details.
What it’s good for
- Keeping product, character, or actor identity consistent across many shots
- Creating new scenes from a small set of reference stills or keyframes
- Generating campaign variations while locking in pose, outfit, or layout
- Up-res, clean re-renders of storyboard / concept frames with cinematic quality
Key features
• Up to 7 reference images
Upload 1–7 images in images to steer identity, pose, outfit, or composition. The model blends information across them while following your text prompt.
• Cinematic aspect ratios
aspect_ratio supports:
- 1:1, 4:3, 3:4, 2:3, 3:2 – square and classic photo ratios
- 16:9, 21:9 – widescreen and banner formats
- 9:16 – vertical / mobile content
auto– let the model choose a ratio that best matches the references + prompt
• High resolutions (1080p → 4K)
resolution lets you pick:
- 1080p – fast preview / web use
- 2K – more detail and better crop flexibility
- 4K – maximum sharpness for key visuals and print-adjacent work
• Prompt-driven control
Combine references with a rich prompt (“dramatic studio lighting, cinematic close-up, 85mm lens, shallow depth of field”) to re-style while keeping the same subject.
• Seed-based reproducibility
seed set to -1 gives random variation; using a fixed integer lets you rerun the same combination of prompt + references for consistent outputs.
How to use (Playground)
- prompt* – Describe what you want to change or keep: style, lighting, mood, background, camera angle, etc.
- images* – Click “Add Item” and upload 1–7 reference images (subject, pose, layout, or mood).
- aspect_ratio – Choose a ratio, or leave as
autoand let the model decide.
- resolution – Select 1080p, 2K, or 4K depending on detail vs. speed needs.
- seed – Use
-1for randomness or a fixed integer for reproducible results.
- Run the job, inspect the result, then iterate on prompt / references as needed.
Pricing
Pricing is per generated image, based on the selected resolution and number of reference images. A run with default settings (1080p) costs $0.04 per run.
| Number of reference images | 1080p | 2K | 4K |
|---|---|---|---|
| 1 reference image | $0.04 | $0.06 | $0.10 |
| 3 reference images | $0.04 | $0.06 | $0.10 |
| 4 reference images | $0.05 | $0.10 | $0.15 |
| 6 reference images | $0.05 | $0.10 | $0.15 |
Runs with 1 to 3 reference images are priced the same as the 3-image row; runs with 4 to 7 reference images are priced the same as the 4-image row.
Billing Rules
- Reference images are included in the listed price.
aspect_ratioandseeddo not add separate charges.
Tips for best quality
- Use clean, well-lit reference images; avoid heavy motion blur or extreme compression.
- Keep references stylistically consistent when possible (similar lighting / medium).
- In the prompt, clearly state both what must stay the same (“same person and outfit”) and what should change (“different background, golden-hour lighting”).
- For hero shots, generate at 2K or 4K, then downscale slightly for extra sharpness.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Vidu Reference to Image Q2 Image Editing API example
The catalog lists POST https://api.opensi.com.ai/api/v3/vidu/reference-to-image-q2 for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"images": [],
"aspect_ratio": "auto",
"resolution": "1080p",
"seed": 0
}Vidu Reference to Image Q2 Image Editing API — Frequently asked questions
What is the Reference To Image Q2 API?
Reference To Image Q2 is a Vidu model for image editing, exposed as a REST API on OpenSIAI. Vidu Reference-to-Image Q2 generates high-quality images from 1–7 reference images plus a text prompt, preserving style and composition while allowing controlled changes to subjects, backgrounds, and fine details. Ready-to-use REST inference API, best performance, no cold starts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Reference To Image Q2 API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/vidu/reference-to-image-q2.
How much does Reference To Image Q2 cost per run or per second?
Reference To Image Q2 starts at $0.04 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Reference To Image Q2 accept?
Key inputs: prompt, images, aspect_ratio, resolution, seed. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/vidu/reference-to-image-q2.
How long does Reference To Image Q2 take to generate?
Reported generation time on OpenSIAI is around 58 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Reference To Image Q2 outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (Vidu). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
