每个示例都包含请求、对应的已完成任务响应和生成的音频。将请求提交到 POST https://api.vidgo.ai/api/generate/submit,然后使用提交返回的任务 ID 查询 GET https://api.vidgo.ai/api/generate/status/{task_id}。
屋顶上的春天
{ "model": "elevenlabs/music", "input": { "composition_plan": { "positive_global_styles": [ "indie folk with subtle organic electronica", "96 BPM, 4/4", "warm clear female lead vocal", "acoustic guitar, rounded bass, delicate electronic percussion", "hopeful intimate song about planting a rooftop garden", "clean spacious studio mix, clear Mandarin and English diction" ], "negative_global_styles": [ "harsh distortion", "crowded arrangement", "spoken narration", "abrupt cut off" ], "sections": [ { "section_name": "Acoustic introduction", "duration": 8, "positive_local_styles": [ "instrumental only", "fingerpicked acoustic guitar introduces a memorable gentle motif", "soft airy pad, no drums" ], "negative_local_styles": [], "lines": [] }, { "section_name": "Mandarin verse", "duration": 16, "positive_local_styles": [ "sing the supplied Mandarin lyrics clearly", "intimate gentle lead vocal", "fingerpicked guitar and soft bass, restrained percussion" ], "negative_local_styles": [], "lines": [ "把春天种在屋顶上", "等风翻过旧砖墙" ] }, { "section_name": "English chorus", "duration": 16, "positive_local_styles": [ "sing the supplied English lyrics clearly", "open uplifting melody", "full warm drums and bass enter", "layered backing vocal harmonies, retain the acoustic motif" ], "negative_local_styles": [], "lines": [ "Little seeds above the street", "Find the sunlight, find the beat" ] }, { "section_name": "Instrumental resolution", "duration": 8, "positive_local_styles": [ "instrumental only, no vocals", "return to fingerpicked guitar motif", "drums fall away, warm sustained final chord with natural decay" ], "negative_local_styles": [], "lines": [] } ] }, "respect_sections_durations": true, "output_format": "mp3_44100_128" }}
{ "model": "elevenlabs/music", "input": { "text": "Create a 30-second instrumental jazz cue for a puzzle scene in a clockmaker's workshop. 104 BPM, lightly swinging 4/4, playful curiosity with a hint of mystery. Use plucked upright bass, brushed drums, muted trumpet and vibraphone, each clearly separated in a warm intimate acoustic mix. Begin with a distinctive four-note vibraphone motif over bass; let muted trumpet answer and develop that motif in the middle, while brush accents subtly increase the momentum. Resolve with a short, clean ensemble cadence and allow the last note to decay naturally. No vocals, choir, spoken words, ticking sound effects or abrupt cutoff.", "duration": 30, "is_instrumental": true, "output_format": "mp3_44100_128" }}
{ "model": "elevenlabs/music", "input": { "text": "Compose a 40-second instrumental score for a nature documentary gliding through a sunlit underwater kelp forest. 72 BPM, gently flowing 4/4. Felt piano, delicate harp harmonics, soft sustained strings and a subtle low ambient texture; luminous, patient, full of quiet wonder. Start sparsely with isolated felt-piano notes and wide space. Gradually introduce harp and strings into an expansive rising harmony through the middle third, suggesting shafts of light moving through long fronds. Gently thin the arrangement and finish on a peaceful resolved chord with natural reverb decay. Detailed soft dynamics, wide stereo depth, no heavy percussion, no vocals or choir, no narration, no water sound effects, no abrupt cutoff.", "duration": 40, "is_instrumental": true, "output_format": "mp3_44100_128" }}