Google FlowMusic Lyria 3 Pro API
FlowMusic Lyria 3 Pro 音乐生成模型,支持根据提示词、歌词和音乐参数创建音频。
Starting price $0.033000 / 次 · Price snapshot
Waiting to refresh live prices…
Model pricing
Compare all public tiers and current prices for this series on one page.
Input
$0.033000 / 次
Output
总价按请求参数和实际用量计算
Context
—
Max output
—
- Model ID
-
flowmusic-lyria-3-pro - Billing model
- Fixed combination billing
- Available groups
- default
- Capabilities
- text-to-music
- Combination pricing rules
按请求参数动态计费总价按请求参数和实际用量计算
基础价格$0.0330 / 次- 提交时按公开参数预估;完成后可能按供应商返回的实际用量结算
查看高级计费表达式
v2:provider_credits > 0 ? tier("ttapi_flowmusic_actual_quota_plus_10pct_2026_08_30", units(provider_credits, 0.011)) : tier("ttapi_flowmusic_generation_plus_10pct_2026_08_30", units(1, 0.033))
API reference
Base URL is https://api.rokoapi.com/v1. The model in requests must use the model IDs listed above.
curl https://api.rokoapi.com/v1/audios/tasks \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flowmusic-lyria-3-pro",
"prompt": "cinematic ambient music with warm strings and a gentle piano",
"duration": 30,
"metadata": {
"lyrics": "[Verse]\nNeon rain falls softly tonight",
"title": "Neon Rain",
"bpm": 120,
"seed": "42"
}
}' For more parameters, limits, and async task queries, read the Google FlowMusic Lyria 3 Pro developer guide. Google FlowMusic Lyria 3 Pro Developer guide · Authorization