Story MV
Pure cinematic storytelling without lip-sync — turn any song and character portrait into a cohesive narrative music video with automatic lyric-to-imagery staging, dynamic multi-scene arcs, optional .lrc/text lyrics alignment, and consistent character framing.
API key
Enter your API key to submit or inspect tasks.
Create a Story MV
Calls POST /story-mv/tasks · parallel multi-segment rendering.
10–360s. MP3, WAV, AAC, M4A or FLAC. Vocals & instrumentals both supported.
Clear front or 3/4 portrait of the lead character.
None added.
Optional co-characters, pets, or scene/style inspiration images (up to 9).
Uploads are limited to 30MB each — use a URL for larger files.
Lyrics (.lrc or plain text, optional)Auto ASR if empty
Upload a .lrc / .txt file or paste lyrics below for 100% accurate lyric-to-visual matching.
Billed per second of the song. Add audio to see the total. Charged once analysed and refunded in full if the task fails.
Or inspect an existing task
Request log
Every call this page makes to the API, in order, most recent first.
Nothing sent yet.
Moonlight on the Bedside Table
Prompt
Warm nostalgic coming-of-age story MV, gentle 35mm film lighting and quiet moonlit bedroom atmosphere.
Input Lyrics (.lrc)
lyrics.lrc[00:00.22]收音机靠坐在床头 [00:06.00]贪玩的少年抱着漫画书不放手 [00:12.46]陪我入睡的是月亮的忧愁 [00:17.46]和装满幻梦的枕头
Lyric-to-Scene Progression
收音机靠坐在床头
Warm tungsten glow over a vintage bedside radio humming quietly in the bedroom.
贪玩的少年抱着漫画书不放手
Leaning against the headboard absorbed in well-loved comic books.
陪我入睡的是月亮的忧愁 / 和装满幻梦的枕头
Soft silver moonlight across the windowsill and a quiet, dream-filled pillow.
Overview
Story MV turns a song and character portrait(s) into a cohesive narrative music video. The pipeline analyzes music beats, energy valleys, and lyrics, then automatically routes between two storytelling modes:
lyric_literal_imagery— When lyrics contain concrete objects, places, or actions (comic book, bicycle, rain, teacup, starry sky), characters visibly interact with those exact elements right when sung.cinematic_imagined— For instrumentals or abstract emotional lyrics, the Story Architect crafts an original short-film arc tailored to the musical mood and character styling.
All requests require api-key: YOUR_API_KEY in headers. Video segments are rendered in parallel and composed into a seamless MP4.
prompt (for example, snowy lantern streets, glowing fireplace cabin, warm holiday lights) and set "wardrobe_swap": true so the pipeline dresses characters in coordinated holiday winter outfits while preserving facial identity.Create a Story MV task
https://api.foxaihub.com/api/v2/story-mv/tasks| Field | Type | Required | Description |
|---|---|---|---|
| audio_url | string | Yes | Public http(s) URL or base64 data URL (10–360s, MP3/WAV/M4A/AAC/FLAC/OGG, ≤30MB upload). |
| protagonist_image | string | Yes | Lead character portrait (http(s) URL or base64 PNG/JPG/WebP). |
| images | string[] | No | Up to 9 additional images (co-characters, pets, or optional scene/style references; total ≤10). |
| wardrobe_swap | boolean | No | Default false (keeps exact original outfits). Set true to generate coordinated outfits tailored to your prompt and song theme (e.g. Christmas, campus, vintage, summer, sci-fi). |
| prompt | string | No | Up to 3,000 chars describing theme, mood, or visual style (e.g. Christmas Eve, nostalgic youth). Can be brief or omitted. |
| language | string | No | ISO-639-1 language hint for Whisper ASR (e.g. zh, en, ja, ko). Empty = auto-detect. |
| lyrics | string | No | Optional inline .lrc (with [mm:ss.xx] timestamps) or plain-text lyrics (auto-aligned to audio). |
| lyrics_file | string | No | Optional http(s) URL to a .lrc or .txt lyrics file. |
| aspect_ratio | string | No | 16:9 (default), 9:16, 1:1, 4:3, or 3:4. |
| resolution | string | No | 720p (default) or 540p. |
| callback_url | string | No | Optional webhook URL notified on stage transitions with the same JSON shape as GET. |
cURL
curl -X POST 'https://api.foxaihub.com/api/v2/story-mv/tasks' \
-H 'api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"audio_url": "https://example.com/song.mp3",
"protagonist_image": "https://example.com/hero.png",
"images": ["https://example.com/co-star.png"],
"language": "zh",
"prompt": "Warm nostalgic coming-of-age cinema MV, natural daylight",
"lyrics": "[00:44.88]又回到春末的五月\n[00:49.90]凌晨的集市人不多",
"wardrobe_swap": false,
"aspect_ratio": "16:9",
"resolution": "720p"
}'Response
{
"id": "7f0c2d6e-3b1a-4c1e-9a53-0f6c1d2e8b11",
"mode": "story_mv",
"state": "created",
"stage": "pending",
"credits": 0
}Poll task status & storyboard
https://api.foxaihub.com/api/v2/story-mv/tasks/:idPoll every 5–10 seconds until state is success or failed. Stages progress through pending → analyzing → planning → rendering → composing → completed.
cURL
curl 'https://api.foxaihub.com/api/v2/story-mv/tasks/7f0c2d6e-3b1a-4c1e-9a53-0f6c1d2e8b11' \ -H 'api-key: YOUR_API_KEY'
Response
{
"id": "7f0c2d6e-3b1a-4c1e-9a53-0f6c1d2e8b11",
"mode": "story_mv",
"state": "success",
"stage": "completed",
"err_code": "",
"error": null,
"credits": 5.4,
"audio_duration": 180.0,
"bpm": 94,
"lyrics_source": "user_lrc",
"lyric_visual_strategy": "lyric_literal_imagery",
"narrative_mode": "solo",
"title": "The Simple Things We Kept",
"logline": "A nostalgic journey back through quiet hometown memories...",
"progress": { "segments_done": 13, "segments_total": 13 },
"creations": [
{
"id": "7f0c2d6e-3b1a-4c1e-9a53-0f6c1d2e8b11",
"url": "https://cdn.example.com/.../final.mp4",
"cover_url": "https://cdn.example.com/.../cover.jpg"
}
],
"characters": [...],
"scenes": [...],
"segments": [...]
}Regenerate a single segment
https://api.foxaihub.com/api/v2/story-mv/tasks/:id/segments/:segmentId/regenerateIf one segment clip is unsatisfactory after rendering or completion, regenerate only that segment without re-rendering the rest of the MV. Once finished, the final video is automatically re-composed.
cURL
curl -X POST 'https://api.foxaihub.com/api/v2/story-mv/tasks/7f0c2d6e-3b1a-4c1e-9a53-0f6c1d2e8b11/segments/seg_04/regenerate' \ -H 'api-key: YOUR_API_KEY'
