NEW🎬 New: MAGI 2 1080p video with native audio, 4–30 s · only 4.15 credits/sec (5 s clip = 20.75)Try it →
F🎵

Flow Music

🎵 Music flowmusic ⧉ 4.56 credits / request
🎵

Sign in to try Flow Music

Sign in with your Google account and top up credits to get started.

Sign in with Google

API Key

Sign in to select or create a key

Connect an AI agent with OAuth

Other agents

Use via API

Base URL: https://adverraai.com/hub/api/v1 · Authenticate with Authorization: Bearer YOUR_API_KEY

# 1) Submit a task
curl https://adverraai.com/hub/api/v1/music/generations \
  -H "Authorization: Bearer $ADVERRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "flowmusic",
    "prompt": "upbeat pop song about the sea"
  }'
# => {"id":"task_xxx","status":"queued",...}

# 2) Check status (every 3-5 seconds until status = completed)
curl https://adverraai.com/hub/api/v1/tasks/task_xxx -H "Authorization: Bearer $ADVERRA_API_KEY"
# => {"status":"completed","output":[{"type":"audio","url":"https://..."}]}

Common parameters: prompt, image_urls, size / aspect_ratio, resolution, duration, n, negative_prompt, seed. Credits are reserved at an estimated price when you submit and adjusted to the actual cost when the task finishes (failed tasks are fully refunded).

Parameters for this model

Send as JSON in the request body. Fields marked * are required.

ParameterTypeAllowed valuesDefaultDescription
model * string – – ID of the model to call — flowmusic
action string music, music-lyria-3-5, lyrics, extend, extend-lyria-3-5, replace, replace-lyria-3-5, cover, cover-lyria-3-5, stems, upload-audio, download-audio, video-clip music Mode (13 actions) — each action takes different fields, see the action table below

โหมดทั้งหมด (ใส่ใน action)

ส่งที่ POST https://adverraai.com/hub/api/v1/generate ด้วย "model": "flowmusic" + "action": "…" (ไม่ใส่ = music) · โหมดที่แก้เพลงเดิมใช้ clip_id จากผลลัพธ์ของงานก่อนหน้า

actionทำอะไรต้องใส่ใส่เพิ่มได้
สร้างเพลง
musicสร้างเพลง (Lyria 3 Pro)
สร้างเพลงเต็มเพลงจากสไตล์และเนื้อร้อง
—sound_prompt, lyrics, title, bpm, length, seed
music-lyria-3-5สร้างเพลง (Lyria 3.5)
สร้างเพลงด้วยรุ่น Lyria 3.5
versionsound_prompt, lyrics, title, bpm, length, seed
lyricsแต่งเนื้อเพลง
ให้ AI เขียนเนื้อเพลง
prompt
แก้ไขเพลง
extendต่อเพลง
ต่อความยาวเพลงจากคลิปเดิม
clip_id, extend_from_s, extend_s, instructiontitle, seed
extend-lyria-3-5ต่อเพลง (Lyria 3.5)
ต่อเพลงด้วยรุ่น Lyria 3.5
version, clip_id, extend_from_s, extend_s, instructiontitle, seed
replaceแทนท่อน
สร้างท่อนใหม่แทนช่วงเวลาที่เลือก
clip_id, start_s, end_s, instructiontitle, seed
replace-lyria-3-5แทนท่อน (Lyria 3.5)
แทนท่อนด้วยรุ่น Lyria 3.5
version, clip_id, start_s, end_s, instructiontitle, seed
coverทำคัฟเวอร์
เรียบเรียงเพลงเดิมใหม่ตามคำสั่ง
clip_id, instruction, strengthtitle, seed
cover-lyria-3-5ทำคัฟเวอร์ (Lyria 3.5)
คัฟเวอร์ด้วยรุ่น Lyria 3.5
version, clip_id, instruction, strengthtitle, seed
เครื่องมือ
stemsแยกแทร็ก
แยกเสียงร้อง/ดนตรีจากคลิป
clip_id
upload-audioอัปโหลดเพลง
นำไฟล์เพลงเข้าระบบเพื่อใช้ต่อ (ได้ clip_id)
audio_url
download-audioดาวน์โหลดไฟล์
ขอไฟล์ mp3/wav ของคลิป
clip_id, format
video-clipทำคลิปวิดีโอ
สร้างวิดีโอประกอบเพลง
clip_idpreset

🤖 ต่อกับ AI Agent

เชื่อมผ่าน MCP

คัดลอกข้อความนี้ไปวางให้ AI Agent (เช่น Claude, ChatGPT, Gemini, Cursor, Codex) แล้วมันจะเรียกใช้โมเดลนี้ผ่านระบบของเราได้ทันที · ในข้อความมีวิธีเชื่อมต่อ พารามิเตอร์ และวิธีรับผลงานครบ · เลือกคีย์ด้านบนเพื่อใส่ในข้อความที่จะคัดลอก

# Adverra AI Hub — Flow Music (`flowmusic`)

You can use this AI model through the Adverra AI Hub REST API. Follow these instructions exactly.

## Connection
- Base URL: https://adverraai.com/hub/api/v1
- Header: `Authorization: Bearer <ADVERRA_API_KEY>` (read the credential from the ADVERRA_API_KEY environment variable). Never print the key.
- Header: `Content-Type: application/json`
- Endpoint: `POST https://adverraai.com/hub/api/v1/generate`
- Credits are deducted from the user's Adverra balance (check with `GET https://adverraai.com/hub/api/v1/me`).

## Example request body
```json
{
    "model": "flowmusic",
    "prompt": "a cute cat wearing sunglasses"
}
```

## Parameters
- `model` (string, required) — ID of the model to call — flowmusic
- `action` (string, optional) — Mode (13 actions) — each action takes different fields, see the action table below · allowed: music, music-lyria-3-5, lyrics, extend, extend-lyria-3-5, replace, replace-lyria-3-5, cover, cover-lyria-3-5, stems, upload-audio, download-audio, video-clip · default: music


## Actions (send `"action"` in the body; default `music`)
All actions use `POST https://adverraai.com/hub/api/v1/generate` with `"model": "flowmusic"`. Then poll `GET https://adverraai.com/hub/api/v1/tasks/{id}`. Edit actions take `clip_id` from the result `text` of an earlier Flow Music task.
- `music` — สร้างเพลง (Lyria 3 Pro) (สร้างเพลงเต็มเพลงจากสไตล์และเนื้อร้อง) · optional: sound_prompt, lyrics, title, bpm, length, seed
- `music-lyria-3-5` — สร้างเพลง (Lyria 3.5) (สร้างเพลงด้วยรุ่น Lyria 3.5) · required: version · optional: sound_prompt, lyrics, title, bpm, length, seed
- `lyrics` — แต่งเนื้อเพลง (ให้ AI เขียนเนื้อเพลง) · required: prompt
- `extend` — ต่อเพลง (ต่อความยาวเพลงจากคลิปเดิม) · required: clip_id, extend_from_s, extend_s, instruction · optional: title, seed
- `extend-lyria-3-5` — ต่อเพลง (Lyria 3.5) (ต่อเพลงด้วยรุ่น Lyria 3.5) · required: version, clip_id, extend_from_s, extend_s, instruction · optional: title, seed
- `replace` — แทนท่อน (สร้างท่อนใหม่แทนช่วงเวลาที่เลือก) · required: clip_id, start_s, end_s, instruction · optional: title, seed
- `replace-lyria-3-5` — แทนท่อน (Lyria 3.5) (แทนท่อนด้วยรุ่น Lyria 3.5) · required: version, clip_id, start_s, end_s, instruction · optional: title, seed
- `cover` — ทำคัฟเวอร์ (เรียบเรียงเพลงเดิมใหม่ตามคำสั่ง) · required: clip_id, instruction, strength · optional: title, seed
- `cover-lyria-3-5` — ทำคัฟเวอร์ (Lyria 3.5) (คัฟเวอร์ด้วยรุ่น Lyria 3.5) · required: version, clip_id, instruction, strength · optional: title, seed
- `stems` — แยกแทร็ก (แยกเสียงร้อง/ดนตรีจากคลิป) · required: clip_id
- `upload-audio` — อัปโหลดเพลง (นำไฟล์เพลงเข้าระบบเพื่อใช้ต่อ (ได้ clip_id)) · required: audio_url
- `download-audio` — ดาวน์โหลดไฟล์ (ขอไฟล์ mp3/wav ของคลิป) · required: clip_id, format
- `video-clip` — ทำคลิปวิดีโอ (สร้างวิดีโอประกอบเพลง) · required: clip_id · optional: preset

## Result
Returns a task object `{ "id": "task_...", "status": "queued" }`.
Poll `GET https://adverraai.com/hub/api/v1/tasks/{id}` every 5 seconds until `status` is `completed` or `failed`, then download every `output[].url` (links expire after about 24 hours).
If the user already has many jobs running, new jobs are queued automatically (`queued_waiting: true`) — keep polling, do not resubmit.
Optional: add `"wait": true` to the request to wait up to ~100 seconds for the result in one call.

## Errors
- 401 = invalid API key · 402 = not enough credits (tell the user to top up at https://adverraai.com/hub/topup.php) · 429 = too many requests (wait and retry) · 5xx = temporary error (credits are refunded automatically).

## MCP (optional)
Agents that support MCP can connect to `https://adverraai.com/hub/mcp.php` instead (setup guide: https://adverraai.com/hub/connect.php).

About this model

Flow Music is a Music model by Adverra AI Hub

CapabilitiesText to Audio, Audio to Audio
Price4.56 credits / request

Flow Music is an AI music generation model that enables the rapid creation of songs and background music. Developed by Google, it leverages Lyria 3 Pro and Lyria 3.5 to produce full songs from text prompts or existing audio. It is best suited for quickly generating musical ideas, soundtracks, and song prototypes across various styles.

Key features

  • Generate full songs from text or lyrics
  • Extend and replace sections of existing music
  • Rearrange songs in new styles
  • Separate vocal and instrumental stems
  • Import public audio URLs for editing
  • Export generated music as WAV or MP3
  • Render music videos from templates

What you can do

  • Create background tracks for social media posts and advertisements
  • Produce intros, outros, loops, and brand jingles
  • Develop themes and loops for games and interactive experiences
  • Generate lyrics from a text prompt
  • Cover existing tracks in new styles
  • Create demos and musical ideas for artists
  • Build AI music features into applications

Specs

  • Input: Text (sound prompt, lyrics), Audio (public URL)
  • Output: Audio (WAV, MP3), Video (MP4)
  • Target length: 1 to 240 seconds
  • Supported versions: Lyria 3 Pro (default), Lyria 3.5
  • Lyrics prompt length: Up to 3,000 characters

Prompt tips

  • Provide a clear 'sound_prompt' describing the desired music style, e.g., 'lo-fi hip hop with soft piano and rain'.
  • Include specific 'lyrics' to guide the vocal generation, ensuring they align with the song's theme.
  • Specify 'bpm' (beats per minute) and 'length' in seconds for precise control over the track's tempo and duration.
  • Use the 'seed' parameter to get similar results across multiple generations, though exact repeats are not guaranteed.
  • For more advanced capabilities, explore using 'lyria-3.5' as the version parameter.
  • When extending or replacing sections, provide clear text instructions to guide the changes.

Examples

▶ Google · Introducing Lyria 3 music generation
▶ Google DeepMind · Introducing Lyria 3: Our new music model
▶ Google for Developers · Inside Lyria 3, Google's music generation model

Sample videos from the model developer's official channels