viduq4-preview API
Generate videos from a first frame or reference images with viduq4-preview on APISea, at up to 4K with audio.
viduq4-previewviduq4-preview API-ის ფასები
ყველა ფასი USD-შია. APISea-ის ტარიფები შედარებულია იმავე ერთეულისთვის დადგენილ ოფიციალურ ფასებთან.
| პარამეტრი | APISea | ოფიციალური | დაზოგვა |
|---|---|---|---|
| ნაგულისხმევინაგულისხმევი | $0.1003 | $0.109 | −8% |
| 1080P | $0.1126 | $0.1375 | −18% |
| 2K | $0.1786 | $0.2175 | −18% |
| 4K | $0.3661 | $0.446 | −18% |
| 540P | $0.04928 | $0.0515 | −4% |
| 720P | $0.1003 | $0.109 | −8% |
ფასები მოცემულია წამში-ზე.
რა არის viduq4-preview?
viduq4-preview is Shengshu’s Vidu-family video model for turning a first frame or reference assets into video on APISea. Image-to-video takes exactly one starting image and an optional prompt. Reference-to-video takes 1–15 images, a required prompt, and optionally up to three reference audio clips. Outputs run from 3–16 seconds at resolutions from 540p to 4K, with dialogue and sound effects enabled by default. Reference-to-video also supports five aspect ratios, including portrait, square, and landscape formats.
Submit requests through APISea’s video generation endpoint, then query the returned task ID for status and results. APISea provides one API key and an OpenAI-compatible base URL at https://api.apisea.ai/v1. Billing is pay-as-you-go and applies only to successful requests. Default pricing is $0.1003 per second, about 8% below the provider list price; resolution-specific rates range from $0.04928 per second for 540P to $0.3661 per second for 4K.
viduq4-preview-ის მთავარი მახასიათებლები
Two Image-Based Modes
Animate one first frame or generate from 1–15 reference images. The model selects the mode from your images, roles, and reference audio without an additional mode parameter.
Audio Enabled by Default
Output dialogue and sound effects are enabled by default. Reference-to-video can also accept up to three reference audio clips.
Duration and Resolution Controls
Choose a duration from 3–16 seconds and a resolution of 540p, 720p, 1080p, 2K, or 4K. Defaults are 5 seconds and 720p.
Reference Aspect Ratio Options
Reference-to-video supports 1:1, 9:16, 16:9, 3:4, and 4:3, with 16:9 as the default. Aspect ratio settings have no effect on image-to-video.
როგორ გამოვიძახოთ viduq4-preview API 4 ნაბიჯში
- 01
მიიღეთ API გასაღები
შედით APISea-ში, შეავსეთ ბალანსი $50-დან და კონსოლში შექმენით sk-sea გასაღები.
- 02
დააყენეთ საბაზისო URL
თქვენს SDK-ში ან HTTP კლიენტში საბაზისო URL-ად გამოიყენეთ https://api.apisea.ai/v1.
- 03
გაგზავნეთ მოთხოვნა
გამოიძახეთ POST /v1/videos/generations პარამეტრებით "model": "viduq4-preview" და ქვემოთ ჩამოთვლილი პარამეტრებით.
- 04
დაამუშავეთ პასუხი
პასუხი შეიცავს task_id-ს. მოითხოვეთ GET /v1/tasks/{task_id} განმეორებით, სანამ სტატუსი completed გახდება, შემდეგ კი ჩამოტვირთეთ შედეგის URL-ებიდან.
მოთხოვნის მაგალითები
დოკუმენტაცია: Vidu Q4 Preview Video Generationcurl --request POST \
--url https://api.apisea.ai/v1/videos/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "viduq4-preview",
"prompt": "A girl turns back and smiles, her long hair blowing in the wind as the camera slowly moves closer",
"image_urls": ["https://example.com/first-frame.png"],
"duration": 5,
"resolution": "1080p"
}'პარამეტრები
| პარამეტრი | ტიპი | სავალდებულო | ნაგულისხმევი | აღწერა |
|---|---|---|---|---|
model | string | სავალდებულო | — | Must be exactly `viduq4-preview`, in lowercase. |
nsfw_check | boolean | არასავალდებულო | false | Whether to run content moderation before submitting the video task. |
prompt | string | არასავალდებულო | — | Video generation prompt, up to 20,000 characters. |
image_urls | string[] | არასავალდებულო | — | Image array. Supports publicly accessible image URLs or Base64 Data URLs, such as `data:image/png;base64,...`. |
image_with_roles | object[] | არასავალდებულო | — | Array of images with roles. Use one element for image-to-video; for reference-to-video, 1–15 images combined with `image_urls`. |
url | string | სავალდებულო | — | Public image URL or Base64 Data URL. |
role | string | არასავალდებულო | — | Image role, case-insensitive: |
first_frame_image | string | არასავალდებულო | — | For image-to-video only. Provide a public URL or Base64 Data URL for the first frame. |
audio_urls | string[] | არასავალდებულო | — | Array of reference audio URLs, for reference-to-video only. At most 3 clips combined with `audio_url`. |
audio_url | string | არასავალდებულო | — | Single reference audio URL, with the same requirements as `audio_urls`. At most 3 clips across both fields. |
aspect_ratio | string | არასავალდებულო | 16:9 | For reference-to-video only. Supports `1:1`, `9:16`, `16:9`, `3:4`, and `4:3`; defaults to `16:9`. |
size | string | არასავალდებულო | — | Compatibility alias for `aspect_ratio` with the same allowed values. Use only one of these fields. Has no effect on image-to-video. |
duration | integer | არასავალდებულო | 5 | Video duration in seconds. Supports 3–16 seconds, not 1–2 seconds. |
resolution | string | არასავალდებულო | 720p | Video resolution: `540p`, `720p`, `1080p`, `2K`, or `4K`, case-insensitive. |
audio | boolean | არასავალდებულო | true | Whether to output video with dialogue and sound effects. |
seed | integer | არასავალდებულო | — | Random seed. Omit or pass `0` for a random value. |
რისი შექმნა შეგიძლიათ viduq4-preview-ით
Animate Still Assets
Build a workflow that turns a supplied illustration or product image into a short video, using an optional prompt to describe the intended action.
Reference-Based Video Drafts
Let creative teams submit multiple reference images and a prompt to generate video drafts from their visual assets.
Portrait and Square Content
Create reference-to-video workflows with selectable portrait, square, or landscape aspect ratios for different content placements.
Audio-Referenced Video Tools
Build a video creation interface that accepts images, a prompt, and up to three MP3 reference clips, with output audio enabled.
რჩევები უკეთესი შედეგებისთვის
- 01
Choose Roles Explicitly
For reference-to-video with one image and no reference audio, set its role to reference_image. Otherwise, a single untagged image selects image-to-video.
- 02
Start With Short Drafts
Use a 3-second duration and 540p resolution for lower-cost drafts before requesting longer or higher-resolution outputs. APISea 540P costs $0.04928 per second.
- 03
Validate Reference Audio
Supply MP3 clips that are 3–12 seconds long and no larger than 50MB each. Invalid audio format or duration causes execution failure with a full refund.
- 04
Poll the Task Result
Submit to POST /v1/videos/generations with the exact lowercase model ID
viduq4-preview. Read the task ID from data[0].task_id and query task status to retrieve the result.
შეზღუდვები და გასათვალისწინებელი საკითხები
Text-only generation and first/last-frame generation are not supported.
An explicit first frame cannot be combined with other images or reference audio; these combinations return HTTP 400.
Reference-to-video requires a prompt and accepts at most 15 images and three reference audio clips.
viduq4-preview API-ის ხშირად დასმული კითხვები
How much does viduq4-preview cost on APISea?
APISea Default and APISea 720P each cost $0.1003 per second; APISea 540P costs $0.04928 per second, APISea 1080P costs $0.1126 per second, APISea 2K costs $0.1786 per second, and APISea 4K costs $0.3661 per second. The Default configuration is about 8% below the provider list price, and APISea bills only successful requests.
How do I call viduq4-preview through the API?
Send a POST request to https://api.apisea.ai/v1/videos/generations using Bearer authentication with your APISea API key and the model value viduq4-preview. Retrieve data[0].task_id from the response, then use Task Query to check status and get the result.
Can viduq4-preview generate video from text alone?
No. It requires either exactly one first-frame image for image-to-video or 1–15 images and a prompt for reference-to-video.
Which duration, resolution, and audio parameters are supported?
Duration supports 3–16 seconds and defaults to 5; resolution supports 540p, 720p, 1080p, 2K, and 4K and defaults to 720p. The audio parameter defaults to true, enabling output dialogue and sound effects.
What inputs can I use for reference-to-video?
Provide 1–15 images through image_urls and image_with_roles, plus a required prompt of up to 20,000 characters. You may add up to three MP3 reference audio clips, each 3–12 seconds long and up to 50MB; image inputs accept public URLs or Base64 Data URLs.
Can I use viduq4-preview outputs commercially?
Commercial use is subject to the provider's terms. Review those terms for your intended use; the supplied model documentation does not specify commercial usage rights.
მსგავსი მოდელები
viduq3
viduq3-mix
viduq3-pro
viduq3-turbo
apisea-zoe
happyhorse
happyhorse-1.0happyhorse-1.1
wan2.5-preview
დაიწყეთ viduq4-preview-ით შექმნა
ერთი გასაღები, გამოყენების მიხედვით გადახდა $50-დან; თანხა ჩამოგეჭრებათ მხოლოდ წარმატებული მოთხოვნებისთვის.