flowmusic API
Generate music from style prompts and lyrics, or restyle entire songs with flowmusic on APISea.
flowmusicتسعير API لنموذج flowmusic
جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.
| الخيار | APISea | رسمي | وفّر |
|---|---|---|---|
| افتراضيافتراضي | $0.066 | $0.08 | −17% |
| cover | $0.066 | $0.075 | −12% |
| cover-lyria-3.5 | $0.066 | $0.075 | −12% |
| download audio | $0.022 | $0.025 | −12% |
| extend | $0.066 | $0.075 | −12% |
| extend-lyria-3.5 | $0.066 | $0.075 | −12% |
| generate | $0.066 | $0.08 | −17% |
| generate-lyria-3.5 | $0.066 | $0.08 | −17% |
| lyrics | $0.022 | $0.025 | −12% |
| replace | $0.066 | $0.075 | −12% |
| replace-lyria-3.5 | $0.066 | $0.075 | −12% |
| stems | $0.066 | $0.075 | −12% |
| upload audio | $0.011 | $0.0125 | −12% |
| video clip | $0.022 | $0.025 | −12% |
الأسعار لكل طلب.
ما هو flowmusic؟
flowmusic is Flow Music's music model for applications that turn style descriptions and lyrics into tracks or rearrange an existing song into a new style. Generation accepts a sound prompt, lyrics, or both, with optional title, BPM, duration, and seed controls. Each generation request produces one track, with a supported duration of 1–240 seconds. Cover rearrangement uses a source clip identifier, an editing instruction, and a strength value to control how much the song changes. Lyria 3.5 generation and cover options use the same model name with a separate version parameter.
On APISea, generation and cover requests cost $0.066 per request, including their Lyria 3.5 options. The Default configuration is about 17% below the provider list price. Pricing is pay-as-you-go, with billing only for successful requests. Generation runs asynchronously: submit a request, retain its task identifier, and query for progress and results.
أبرز مزايا flowmusic
Prompt And Lyrics Inputs
Generate music from a style description, supplied lyrics, or both. Each generation request produces one track.
Tempo And Duration Controls
Set BPM to a value of at least 1 and specify a generation length of 1–240 seconds. Optional title and seed inputs provide additional controls.
Whole Song Restyling
Rearrange an entire song using its source clip identifier and a cover instruction. Strength ranges from 0 to 1, with higher values producing larger changes.
Lyria 3.5 Options
Select Lyria 3.5 for generation or cover rearrangement through the version parameter. The model identifier remains flowmusic.
كيفية استدعاء API الخاص بـ flowmusic في 4 خطوات
- 01
احصل على API key
سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.
- 02
اضبط عنوان URL الأساسي
استخدم https://api.apisea.ai/v1 عنوانًا أساسيًا في SDK أو عميل HTTP.
- 03
أرسل الطلب
استدعِ POST /v1/music/generations مع "model": "flowmusic" والمعلمات أدناه.
- 04
تعامل مع الاستجابة
تتضمن الاستجابة task_id. أرسل طلبات GET /v1/tasks/{task_id} دوريًا حتى تصبح الحالة completed، ثم نزّل روابط النتائج.
أمثلة على الطلبات
الوثائق: Generate Musiccurl --request POST \
--url https://api.apisea.ai/v1/music/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "flowmusic",
"title": "My Song",
"sound_prompt": "upbeat pop music with piano",
"bpm": "120",
"length": 60
}'المعلمات
| المعلمة | النوع | مطلوب | افتراضي | الوصف |
|---|---|---|---|---|
model | string | مطلوب | — | Model name, **must be `"flowmusic"`** (case-insensitive) |
sound_prompt | string | اختياري | — | Music style or sound description prompt |
lyrics | string | اختياري | — | Lyrics text; you can first obtain lyrics from the [Generate Lyrics](/docs/audios/flow-music/lyrics) endpoint and fill them in here |
title | string | اختياري | — | Title of the generated music |
bpm | string | اختياري | — | BPM (beats per minute), must be ≥ 1 |
length | integer | اختياري | — | Generation duration (seconds) |
seed | string | اختياري | — | Random seed, used to reproduce results |
ما الذي يمكنك إنشاؤه باستخدام flowmusic
Music Drafting Tools
Build a tool that turns a user's style description into a track, with selectable tempo and duration.
Lyrics To Song Workflows
Let users supply lyrics and a sound description to generate a song. A workflow can obtain lyrics from the Generate Lyrics endpoint before submitting music generation.
Song Restyling Interfaces
Offer a cover workflow that takes a source clip and instructions such as rearranging a song in jazz style, with an editing-strength control.
Creative Variation Workflows
Let teams explore different prompts and cover instructions while retaining seeds and request settings for similar-result experiments.
نصائح للحصول على نتائج أفضل
- 01
Supply A Nonempty Input
Provide a sound_prompt, lyrics, or both; they cannot both be empty. Describe the desired style or sound in the sound_prompt field.
- 02
Set Controls Explicitly
Send bpm as a string with a value of at least 1, and length as an integer from 1 to 240 seconds. Reusing a seed with the same request can produce similar results, not guaranteed identical output.
- 03
Poll For Completed Results
Store the task_id returned after generation submission. Query GET /v1/music/tasks/{task_id} for progress and results rather than expecting a completed track in the initial response.
- 04
Select Versions Without Renaming
For Lyria 3.5, keep the model set to
flowmusicand set the version field to lyria-3.5. Both standard and Lyria 3.5 generation cost $0.066 per request on APISea.
القيود ومعلومات مهمة
Each generation request produces one track with a duration of 1–240 seconds.
Music generation is asynchronous and requires querying task progress and results.
Identical seeds and requests can produce similar results, but exact reproducibility is not guaranteed.
الأسئلة الشائعة حول API الخاص بـ flowmusic
How much does flowmusic cost on APISea?
Default, generate, and generate-lyria-3.5 each cost $0.066 per request; cover and cover-lyria-3.5 also cost $0.066 per request. The Default configuration is about 17% below the provider list price, and APISea bills only for successful requests.
How do I call the flowmusic API?
Send a Bearer-authenticated POST request to https://api.apisea.ai/v1/music/generations with the model set to flowmusic. Include sound_prompt or lyrics, then use the returned task_id to query GET /v1/music/tasks/{task_id}.
Which music generation parameters are supported?
Generation supports sound_prompt, lyrics, title, bpm, length, and seed. At least one of sound_prompt or lyrics is required; bpm is a string with a value of at least 1, and length is an integer in seconds.
What are flowmusic's track length and output limits?
The documented generation duration is 1–240 seconds, and each request generates one track. Results are retrieved asynchronously through the task-status endpoint.
How do I use Lyria 3.5 with flowmusic?
Keep the model set to flowmusic and add the version field with the value lyria-3.5. The documented Lyria 3.5 options support generation and whole-song cover rearrangement; the supplied facts do not establish a quality comparison with the standard option.
Can I use flowmusic output commercially?
Commercial use is subject to the provider's terms. The supplied documentation does not specify licensing or commercial-use rights, so review those terms before using output in a product.
نماذج ذات صلة
gpt-4o-mini-transcribe
gpt-4o-transcribe
whisper-1
suno
ابدأ التطوير باستخدام flowmusic
مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.