Wan
Wan-Modelle werden über eine einheitliche, asynchrone Job-API aufgerufen. Starte einen Task mit POST /api/generate und frage dann GET /api/generate/{taskId} ab, bis er fertig ist. Diese Familie stellt 19 Endpunkte bereit.
Überblick
Jeder Endpunkt teilt sich dieselbe Hülle — nur model und die input-Felder ändern sich. Führe einen beliebigen im Playground des Modell-Markts aus.
Authentifizierung
Erstelle einen API-Schlüssel unter /api-keys und sende ihn als Bearer-Token. Anfragen aus dem Browser bei angemeldeter Sitzung funktionieren auch über das Session-Cookie.
Authorization: Bearer <YOUR_API_KEY>Task erstellen
POST https://api.lithovas.com/api/generateBody: { "model": "<slug>", "input": { … } }
Antwort: { "taskId": "<id>", "state": "waiting" }
Ergebnis abfragen
GET https://api.lithovas.com/api/generate/<taskId>Antwort: { "taskId", "state": "waiting" | "success" | "fail", "resultUrls": [ … ], "creditsConsumed", "failMsg", "balance" }
state zu success oder fail wird. Fehlgeschlagene Tasks werden nicht berechnet.Endpunkte
| Modell | Task | model slug |
|---|---|---|
| Wan 2.7 Image | Text to Image | wan/2-7-image |
| Wan 2.7 Image Pro | Text to Image | wan/2-7-image-pro |
| Wan 2.2 A14B | Image to Video | wan/2-2-a14b-image-to-video-turbo |
| Wan 2.2 A14B | Speech to Video | wan/2-2-a14b-speech-to-video-turbo |
| Wan 2.2 A14B | Text to Video | wan/2-2-a14b-text-to-video-turbo |
| Wan 2.2 Animate Move | Lip Sync | wan/2-2-animate-move |
| Wan 2.2 Animate Replace | Lip Sync | wan/2-2-animate-replace |
| Wan 2.6 | Image to Video | wan/2-6-image-to-video |
| Wan 2.6 | Text to Video | wan/2-6-text-to-video |
| Wan 2.6 | Video to Video | wan/2-6-video-to-video |
| Wan 2.6 Flash | Image to Video | wan/2-6-flash-image-to-video |
| Wan 2.6 Flash | Video to Video | wan/2-6-flash-video-to-video |
| Wan 2.5 | Image to Video | wan/2-5-image-to-video |
| Wan 2.5 | Text to Video | wan/2-5-text-to-video |
| Wan 2.7 | Text to Video | wan/2-7-text-to-video |
| Wan 2.7 | Image to Video | wan/2-7-image-to-video |
| Wan 2.7 Videoedit | Video Editing | wan/2-7-videoedit |
| Wan 2.7 R2V | Video to Video | wan/2-7-r2v |
| Wan 3.0 Video | Text to Video | wan3.0-video |
Wan 2.7 Image · Text to Image
wan/2-7-imagepromptstringerforderlichPrompt for image generation or editing (max 5000 chars)
input_urlsarray<string>optionalArray of input image URLs (max 9 images)
aspect_ratioenum<string>optionalOutput aspect ratio when no image input provided
enable_sequentialbooleanoptionalEnable sequential/group image mode
nintegeroptionalNumber of images (1-4 default; 1-12 if sequential)
resolutionenum<string>optionalOutput resolution
thinking_modebooleanoptionalEnable thinking mode (not with sequential or input images)
color_palettearray<object>optionalCustom color theme; 3-10 colors each with hex and ratio
bbox_listarray<array>optionalInteractive editing bounding boxes; max 2 per image [x1,y1,x2,y2]
watermarkbooleanoptionalAdd watermark to generated images
seedintegeroptionalRandom seed; range 0-2147483647
nsfw_checkerbooleanoptionalContent filtering toggle; disabled if false
curl -X POST https://api.lithovas.com/api/generate \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/2-7-image",
"input": {
"prompt": "A cinematic red panda surfing through neon rain at dusk.",
"input_urls": [
"https://example.com/file"
],
"aspect_ratio": "1:1",
"enable_sequential": false,
"n": 4,
"resolution": "2K",
"thinking_mode": false,
"color_palette": [],
"bbox_list": "example",
"watermark": false,
"seed": 0,
"nsfw_checker": false
}
}'Wan 2.7 Image Pro · Text to Image
wan/2-7-image-propromptstringerforderlichPrompt for image generation or editing (max 5000 chars)
input_urlsarray<string>optionalArray of input image URLs (max 9 items)
aspect_ratioenum<string>optionalOutput aspect ratio when no image input provided
enable_sequentialbooleanoptionalEnable sequential/group image mode
nintegeroptionalNumber of images (1-4 default; 1-12 if sequential)
resolutionenum<string>optionalOutput resolution (4K for text-to-image only)
thinking_modebooleanoptionalEnable thinking mode (text-to-image only)
color_palettearray<object>optionalCustom color theme (3-10 colors, 8 recommended)
bbox_listarray<array>optionalInteractive editing bounding boxes (max 2 per image)
watermarkbooleanoptionalAdd watermark to output
seedintegeroptionalRandom seed (range 0-2147483647)
nsfw_checkerbooleanoptionalDisable content filtering when set to false
curl -X POST https://api.lithovas.com/api/generate \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/2-7-image-pro",
"input": {
"prompt": "A cinematic red panda surfing through neon rain at dusk.",
"input_urls": [
"https://example.com/file"
],
"aspect_ratio": "1:1",
"enable_sequential": false,
"n": 4,
"resolution": "2K",
"thinking_mode": false,
"color_palette": [],
"bbox_list": "example",
"watermark": false,
"seed": 0,
"nsfw_checker": false
}
}'Wan 2.2 A14B · Image to Video
wan/2-2-a14b-image-to-video-turboimage_urlstringerforderlichURL of input image; resized and center cropped if aspect ratio mismatch
promptstringerforderlichText guidance for video generation (max 5000 chars)
resolutionenum<string>optionalOutput video resolution
enable_prompt_expansionbooleanoptionalUse LLM to expand the prompt with additional details
seednumberoptionalRandom seed for reproducibility (0-2147483647)
accelerationenum<string>optionalAcceleration level; more acceleration is faster but lower quality
nsfw_checkerbooleanoptionalIf false, content filtering disabled
curl -X POST https://api.lithovas.com/api/generate \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/2-2-a14b-image-to-video-turbo",
"input": {
"image_url": "https://example.com/input.jpg",
"prompt": "Animate the image with natural motion, subtle camera movement, and cinematic lighting.",
"resolution": "720p",
"enable_prompt_expansion": false,
"seed": 0,
"acceleration": "none",
"nsfw_checker": false
}
}'Wan 2.2 A14B · Speech to Video
wan/2-2-a14b-speech-to-video-turbopromptstringerforderlichText prompt for video generation (max 5000 chars)
image_urlstringerforderlichInput image URL; resized/center-cropped if needed (max 10MB)
audio_urlstringerforderlichAudio file URL for speech sync (max 10MB)
num_framesnumberoptionalFrame count to generate; 40-120, multiple of 4
frames_per_secondnumberoptionalVideo FPS (4-60)
resolutionenum<string>optionalOutput video resolution
negative_promptstringoptionalNegative prompt to exclude content (max 500 chars)
seedintegeroptionalRandom seed for reproducible results
num_inference_stepsnumberoptionalSampling steps for quality/speed tradeoff (2-40)
guidance_scalenumberoptionalPrompt adherence strength; 1-10 scale
shiftnumberoptionalVideo shift parameter (1.0-10.0)
nsfw_checkerbooleanoptionalEnable/disable content filtering
curl -X POST https://api.lithovas.com/api/generate \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/2-2-a14b-speech-to-video-turbo",
"input": {
"prompt": "A cinematic red panda surfing through neon rain at dusk.",
"image_url": "https://example.com/input.jpg",
"audio_url": "https://example.com/reference.mp3",
"num_frames": 80,
"frames_per_second": 16,
"resolution": "480p",
"negative_prompt": "example",
"seed": 42,
"num_inference_steps": 27,
"guidance_scale": 3.5,
"shift": 5,
"nsfw_checker": false
}
}'Wan 2.2 A14B · Text to Video
wan/2-2-a14b-text-to-video-turbopromptstringerforderlichText prompt to guide video generation (max 5000 chars)
resolutionenum<string>optionalGenerated video resolution setting
aspect_ratioenum<string>optionalVideo output aspect ratio format
enable_prompt_expansionbooleanoptionalLLM-based prompt expansion for additional detail
seednumberoptionalRandom seed for reproducible results (0-2147483647)
accelerationenum<string>optionalTrade-off control between speed and quality
nsfw_checkerbooleanoptionalToggle content filtering; false disables filtering
curl -X POST https://api.lithovas.com/api/generate \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/2-2-a14b-text-to-video-turbo",
"input": {
"prompt": "A cinematic red panda surfing through neon rain at dusk.",
"resolution": "720p",
"aspect_ratio": "16:9",
"enable_prompt_expansion": false,
"seed": 0,
"acceleration": "none",
"nsfw_checker": false
}
}'Wan 2.2 Animate Move · Lip Sync
wan/2-2-animate-movevideo_urlstringerforderlichURL of the input video (mp4, quicktime, matroska; max 10MB)
image_urlstringerforderlichURL of input image; resized/center-cropped if aspect ratio mismatch (max 10MB)
resolutionenum<string>optionalOutput video resolution selection
nsfw_checkerbooleanoptionalEnable/disable content filtering
curl -X POST https://api.lithovas.com/api/generate \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/2-2-animate-move",
"input": {
"video_url": "https://example.com/reference.mp4",
"image_url": "https://example.com/input.jpg",
"resolution": "480p",
"nsfw_checker": false
}
}'Wan 2.2 Animate Replace · Lip Sync
wan/2-2-animate-replacevideo_urlstringerforderlichURL of the input video (mp4, quicktime, matroska; max 10MB)
image_urlstringerforderlichURL of the input image (jpeg, png, webp; max 10MB)
resolutionenum<string>optionalResolution of the generated video output
nsfw_checkerbooleanoptionalEnable/disable content filtering on results
curl -X POST https://api.lithovas.com/api/generate \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/2-2-animate-replace",
"input": {
"video_url": "https://example.com/reference.mp4",
"image_url": "https://example.com/input.jpg",
"resolution": "480p",
"nsfw_checker": false
}
}'Wan 2.6 · Image to Video
wan/2-6-image-to-videopromptstringerforderlichText prompts for video generation; supports Chinese and English (max 5000 chars)
image_urlsarray<string>erforderlichInput image files (JPEG/PNG/WebP, max 10MB, min 256x256px)
durationenum<string>optionalDuration of generated video in seconds
resolutionenum<string>optionalVideo resolution tier
nsfw_checkerbooleanoptionalContent filtering; disabled when false
curl -X POST https://api.lithovas.com/api/generate \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/2-6-image-to-video",
"input": {
"prompt": "Animate the image with natural motion, subtle camera movement, and cinematic lighting.",
"image_urls": [
"https://example.com/input.jpg"
],
"duration": "5",
"resolution": "1080p",
"nsfw_checker": false
}
}'Wan 2.6 · Text to Video
wan/2-6-text-to-videopromptstringerforderlichText prompts for video generation; supports Chinese and English (max 5000 chars)
durationenum<string>optionalLength of generated video in seconds
resolutionenum<string>optionalVideo resolution tier
nsfw_checkerbooleanoptionalToggles content filtering; false returns unfiltered output
curl -X POST https://api.lithovas.com/api/generate \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/2-6-text-to-video",
"input": {
"prompt": "A cinematic red panda surfing through neon rain at dusk.",
"duration": "5",
"resolution": "1080p",
"nsfw_checker": false
}
}'Wan 2.6 · Video to Video
wan/2-6-video-to-videopromptstringerforderlichText prompt for video transformation (2-5000 chars, Chinese/English)
video_urlsarray<string>erforderlichURLs of source videos to transform (max 3, MP4/QuickTime/Matroska, max 10MB each)
durationenum<string>optionalGenerated video duration in seconds
resolutionenum<string>optionalOutput video resolution tier
nsfw_checkerbooleanoptionalToggle content filtering; false disables filtering
curl -X POST https://api.lithovas.com/api/generate \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/2-6-video-to-video",
"input": {
"prompt": "Restyle the source footage with richer lighting, cleaner motion, and a cinematic grade.",
"video_urls": [
"https://example.com/reference.mp4"
],
"duration": "5",
"resolution": "1080p",
"nsfw_checker": false
}
}'Wan 2.6 Flash · Image to Video
wan/2-6-flash-image-to-videopromptstringerforderlichText prompts for video generation (max 1500 chars)
image_urlsarray<string>erforderlichList of image URLs (min 256x256px, max 1 image, 10MB)
durationenum<string>optionalVideo duration in seconds
resolutionenum<string>optionalOutput video resolution tier
audiobooleanerforderlichWhether to generate video with audio
multi_shotsbooleanoptionalControls shot composition style (single vs multiple shots)
nsfw_checkerbooleanoptionalEnable/disable content filtering (default disabled)
curl -X POST https://api.lithovas.com/api/generate \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/2-6-flash-image-to-video",
"input": {
"prompt": "Animate the image with natural motion, subtle camera movement, and cinematic lighting.",
"image_urls": [
"https://example.com/input.jpg"
],
"duration": "5",
"resolution": "1080p",
"audio": false,
"multi_shots": false,
"nsfw_checker": false
}
}'Wan 2.6 Flash · Video to Video
wan/2-6-flash-video-to-videopromptstringerforderlichText prompt for video generation (2-1500 chars, Chinese/English)
video_urlsarray<string>erforderlichURLs of videos to transform (max 3 items, up to 10MB each)
durationenum<string>optionalGenerated video length in seconds
resolutionenum<string>optionalVideo resolution tier
audiobooleanoptionalWhether to generate video with audio
multi_shotsbooleanoptionalControls shot composition style (single vs multiple shots)
nsfw_checkerbooleanoptionalContent filtering toggle; false disables filtering
curl -X POST https://api.lithovas.com/api/generate \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/2-6-flash-video-to-video",
"input": {
"prompt": "Restyle the source footage with richer lighting, cleaner motion, and a cinematic grade.",
"video_urls": [
"https://example.com/reference.mp4"
],
"duration": "5",
"resolution": "1080p",
"audio": false,
"multi_shots": false,
"nsfw_checker": false
}
}'Wan 2.5 · Image to Video
wan/2-5-image-to-videopromptstringerforderlichText describing desired video motion (max 800 chars)
image_urlstringerforderlichURL of image to use as first frame (JPEG/PNG/WebP, max 10MB)
durationenum<string>erforderlichGenerated video duration in seconds
resolutionenum<string>optionalVideo output resolution
negative_promptstringoptionalContent to avoid in generation (max 500 chars)
enable_prompt_expansionbooleanoptionalEnable LLM-based prompt rewriting
seedintegeroptionalRandom seed for reproducible results
nsfw_checkerbooleanoptionalContent filtering; disabled when false
curl -X POST https://api.lithovas.com/api/generate \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/2-5-image-to-video",
"input": {
"prompt": "Animate the image with natural motion, subtle camera movement, and cinematic lighting.",
"image_url": "https://example.com/input.jpg",
"duration": "5",
"resolution": "720p",
"negative_prompt": "example",
"enable_prompt_expansion": false,
"seed": 42,
"nsfw_checker": false
}
}'Wan 2.5 · Text to Video
wan/2-5-text-to-videopromptstringerforderlichText prompt for video generation; supports Chinese and English (max 800 chars)
durationenum<string>erforderlichDuration of the generated video in seconds
aspect_ratioenum<string>optionalVideo aspect ratio (landscape, portrait, or square)
resolutionenum<string>optionalVideo resolution tier
negative_promptstringoptionalContent to avoid in generation (max 500 chars)
enable_prompt_expansionbooleanoptionalEnable LLM prompt rewriting for improved short prompt results
seedintegeroptionalRandom seed for reproducible results
nsfw_checkerbooleanoptionalDisables content filtering when false
curl -X POST https://api.lithovas.com/api/generate \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/2-5-text-to-video",
"input": {
"prompt": "A cinematic red panda surfing through neon rain at dusk.",
"duration": "5",
"aspect_ratio": "16:9",
"resolution": "720p",
"negative_prompt": "example",
"enable_prompt_expansion": false,
"seed": 42,
"nsfw_checker": false
}
}'Wan 2.7 · Text to Video
wan/2-7-text-to-videopromptstringerforderlichPositive prompt (1-5000 chars)
negative_promptstringoptionalNegative prompt (max 500 chars)
audio_urlstringoptionalCustom audio track URL for video generation
resolutionenum<string>optionalVideo output resolution
ratioenum<string>optionalVideo aspect ratio
durationintegeroptionalVideo length in seconds (2-15)
prompt_extendbooleanoptionalEnable intelligent prompt rewriting
watermarkbooleanoptionalAdd AI-generated watermark to video
seedintegeroptionalRandom seed for reproducibility (0-2147483647)
nsfw_checkerbooleanoptionalContent filtering toggle; disables safety filters when false
curl -X POST https://api.lithovas.com/api/generate \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/2-7-text-to-video",
"input": {
"prompt": "A cinematic red panda surfing through neon rain at dusk.",
"negative_prompt": "example",
"audio_url": "https://example.com/reference.mp3",
"resolution": "1080p",
"ratio": "16:9",
"duration": 5,
"prompt_extend": true,
"watermark": false,
"seed": 42,
"nsfw_checker": false
}
}'Wan 2.7 · Image to Video
wan/2-7-image-to-videopromptstringerforderlichPositive prompt (max 5000 chars)
negative_promptstringoptionalNegative prompt (max 500 chars)
first_frame_urlstringoptionalFirst frame image URL
last_frame_urlstringoptionalLast frame image URL
first_clip_urlstringoptionalFirst clip video URL for video continuation
driving_audio_urlstringoptionalDriving audio URL
resolutionenum<string>optionalVideo resolution output
durationintegeroptionalOutput video duration in seconds (2-15)
prompt_extendbooleanoptionalEnable intelligent prompt rewriting
watermarkbooleanoptionalAdd AI-generated watermark to video
seedintegeroptionalRandom seed (0-2147483647)
nsfw_checkerbooleanoptionalContent filtering toggle
curl -X POST https://api.lithovas.com/api/generate \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/2-7-image-to-video",
"input": {
"prompt": "Animate the image with natural motion, subtle camera movement, and cinematic lighting.",
"negative_prompt": "example",
"first_frame_url": "example",
"last_frame_url": "example",
"first_clip_url": "example",
"driving_audio_url": "https://example.com/reference.mp3",
"resolution": "1080p",
"duration": 5,
"prompt_extend": true,
"watermark": false,
"seed": 42,
"nsfw_checker": false
}
}'Wan 2.7 Videoedit · Video Editing
wan/2-7-videoeditpromptstringoptionalText prompt describing expected elements and visual features (max 5000 chars)
negative_promptstringoptionalContent that should not appear in the video (max 500 chars)
video_urlstringerforderlichURL of source video to edit (mp4/mov, 2-10s, 240-4096px)
reference_imagestringoptionalOptional reference image for character/clothing/style guidance
resolutionenum<string>optionalOutput video resolution tier
aspect_ratioenum<string>optionalOutput video aspect ratio
durationintegeroptionalOutput duration in seconds (0 or 2-10; 0 uses full input)
audio_settingenum<string>optionalModel decides whether to regenerate audio or keep original
prompt_extendbooleanoptionalWhether to enable prompt rewriting/expansion
watermarkbooleanoptionalAdd AI generated watermark to lower-right corner
seedintegeroptionalRandom seed (0-2147483647)
nsfw_checkerbooleanoptionalEnable/disable content filtering (defaults to disabled)
curl -X POST https://api.lithovas.com/api/generate \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/2-7-videoedit",
"input": {
"prompt": "A cinematic red panda surfing through neon rain at dusk.",
"negative_prompt": "example",
"video_url": "https://example.com/reference.mp4",
"reference_image": "https://example.com/input.jpg",
"resolution": "1080p",
"aspect_ratio": "16:9",
"duration": 0,
"audio_setting": "auto",
"prompt_extend": true,
"watermark": false,
"seed": 42,
"nsfw_checker": false
}
}'Wan 2.7 R2V · Video to Video
wan/2-7-r2vpromptstringerforderlichText describing desired video elements (max 5000 chars)
negative_promptstringoptionalUnwanted elements to exclude (max 500 chars)
reference_imagearray<string>optionalURLs of reference images (max 5 total with videos)
reference_videoarray<string>optionalURLs of reference videos (max 5 total with images)
first_framestringoptionalURL of first frame image; overrides aspect_ratio
reference_voicestringoptionalAudio URL for voice timbre (wav/mp3, 1-10 sec, <=15MB)
resolutionenum<string>optionalOutput video resolution tier
aspect_ratioenum<string>optionalOutput video aspect ratio
durationintegeroptionalVideo duration in seconds (2-10)
prompt_extendbooleanoptionalEnable prompt rewriting for expansion
watermarkbooleanoptionalAdd AI generated watermark to lower-right corner
seedintegeroptionalRandom seed for reproducibility (0-2147483647)
nsfw_checkerbooleanoptionalEnable content filtering (disabled when false)
curl -X POST https://api.lithovas.com/api/generate \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/2-7-r2v",
"input": {
"prompt": "Restyle the source footage with richer lighting, cleaner motion, and a cinematic grade.",
"negative_prompt": "example",
"reference_image": [
"https://example.com/input.jpg"
],
"reference_video": [
"https://example.com/reference.mp4"
],
"first_frame": "example",
"reference_voice": "example",
"resolution": "1080p",
"aspect_ratio": "16:9",
"duration": 5,
"prompt_extend": true,
"watermark": false,
"seed": 42,
"nsfw_checker": false
}
}'Wan 3.0 Video · Text to Video
wan3.0-videopromptstringoptionalText prompt describing the desired video. Supports Chinese and English, up to 20,000 characters.
first_framestringoptionalOptional first-frame image URL for image-to-video.
last_framestringoptionalOptional last-frame image URL. Use together with first_frame for first-to-last-frame video.
reference_image_urlsarray<string>optionalReference image URLs for all-in-one reference mode. Refer to them as Image1, Image2, etc. in the prompt.
reference_video_urlsarray<string>optionalReference video URLs for all-in-one reference mode. Refer to them as Video1, Video2, etc. in the prompt.
reference_audio_urlsarray<string>optionalReference audio URLs for voice, music, or ambience guidance.
file_urlstringoptionalOptional public file URL, such as a PPTX, PDF, or other supported media file.
link_urlstringoptionalOptional web link used as source material.
resolutionenum<string>optionalOutput video resolution tier.
ratioenum<string>optionalOutput aspect ratio. adaptive lets the model choose from the input and prompt.
durationintegeroptionalOutput duration in seconds. Use 2-30 for generated clips, or -1 for smart duration mode.
audiobooleanoptionalWhether the generated video includes audio.
seedintegeroptionalRandom seed from 0 to 2147483647.
watermarkbooleanoptionalWhether to add a watermark.
curl -X POST https://api.lithovas.com/api/generate \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan3.0-video",
"input": {
"prompt": "A cinematic red panda surfing through neon rain at dusk.",
"first_frame": "example",
"last_frame": "example",
"reference_image_urls": [
"https://example.com/input.jpg"
],
"reference_video_urls": [
"https://example.com/reference.mp4"
],
"reference_audio_urls": [
"https://example.com/reference.mp3"
],
"file_url": "example",
"link_url": "example",
"resolution": "1080P",
"ratio": "adaptive",
"duration": 5,
"audio": true,
"seed": 42,
"watermark": false
}
}'