Skip to content
Projects

bqiqlq4/flow-music-api-ko

View on GitHub

bqiqlq4/flow-music-api-ko has 71 GitHub stars and 0 forks. GitHot measured -1 stars in 24 hours. Last checked 2026-11-19 08:35 UTC. Last push 2026-10-17.

How these counts are measured

Measured star growth

in 24h
-1
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

Flow Music API (`flowmusic`): model id, pricing, parameters and copy-paste examples for the OpenAI-compatible APIMart endpoint.

Creative & Media

README.md

Original

Flow Music API (flowmusic)

observed unit price billing model OpenAI-compatible endpoint

Music generation request path through the APIMart audio endpoint

from $0.01 per generation on the APIMart route — https://api.apimart.ai/v1 OpenAI 호환 엔드포인트 하나면 되고, 월 구독 플랜은 필요 없습니다. (2026-10-12 기준)

API 키 · 가격 · 모델 페이지 · ⚡ 60초 퀵스타트

팀들이 APIMart를 통해 Flow Music(flowmusic)을 쓰는 이유

  • 키 하나로 카탈로그 전체를. 동일한 https://api.apimart.ai/v1 base URL과 Authorization 헤더로 Flow Music(flowmusic)과 이미지·비디오·언어 모델 300+ 개에 접근할 수 있습니다. 바꾸는 건 model 필드뿐이고 클라이언트는 그대로입니다.
  • 최소 $1, 종량제. 구독도, 사전에 규모를 정해야 하는 선불 플랜도 없습니다. $1부터 충전해 호출한 만큼만 쓰면 됩니다.
  • 과금 내역은 응답으로 돌아옵니다. 완료된 모든 작업은 청구 금액(cost / credits_cost)을 보고하고, failed로 표시된 작업은 환불됩니다.
  • 비동기 설계. 제출하고 task_id를 받아 GET /v1/tasks/{id}를 폴링하면 끝입니다. 배치와 재시도는 별도 통합이 아니라 평범한 큐 작업입니다.

Flow Music API on APIMart provides a production-ready AI music generation workflow for creating full songs from lyrics and style prompts, with vocals or instrumental output and asynchronous task polling.

Model id and routes

Route model value Billing Notes
Music generation (async task) flowmusic per generated track, by operation see the model page for the exact tiers

Endpoint: POST https://api.apimart.ai/v1/music/generations, then poll GET /v1/tasks/{task_id}.

Pricing

Resolution List price Effective price
default 0.075 0.06

Prices are a snapshot; the pricing page and data/model.json are refreshed by CI, and a completed task reports the exact amount in its cost field.

Request parameters

Field Type Default Notes
model string — the music model id
title string — track title
sound_prompt string — style / instrumentation description (one of sound_prompt or lyrics is required)
lyrics string — lyrics text with section tags; leave empty for instrumental
bpm string number —
length integer — target duration in seconds
audio_url string — source audio for extend / cover / stem operations
callback_url string — webhook called when the task completes

The table lists the fields accepted by the APIMart music/generations endpoint. Check the model page for anything this model adds on top.

Quickstart

curl --request POST --url https://api.apimart.ai/v1/music/generations \
  --header "Authorization: Bearer $APIMART_API_KEY" --header 'Content-Type: application/json' \
  -d '{"model":"flowmusic","title":"My Song","sound_prompt":"upbeat pop music with piano","bpm":"120","length":60}'
import os, time, requests

BASE = "https://api.apimart.ai/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['APIMART_API_KEY']}", "Content-Type": "application/json"}

created = requests.post(f"{BASE}/music/generations", headers=HEADERS, timeout=60, json={
    "model": "flowmusic", "title": "My Song", "sound_prompt": "upbeat pop music with piano", "bpm": "120", "length": 60,
}).json()
task_id = created["data"]["id"]

while True:
    task = requests.get(f"{BASE}/tasks/{task_id}", headers=HEADERS, timeout=60).json()["data"]
    if task["status"] in ("completed", "failed"):
        break
    time.sleep(5)
print(task.get("cost"), task["result"]["audio"][0]["url"])

Runnable versions: examples/. The task lifecycle is pending → processing → completed | failed.

FAQ

Flow Music 모델 id는 무엇인가요?

flowmusic입니다. 위의 라우트 표를 참고하세요.

과금 방식은 어떻게 되나요?

from $0.01 per generation on the APIMart route. 완료된 작업은 cost 필드에 정확한 금액을 보고하고, 실패한 작업은 환불됩니다.

How do I get a key?

Use the Get an API key link — $1 minimum top-up, no plan required.

Related repositories

This repository is one build in a cross-linked set of API guides for the same model family; each language build links back to the others.

Attributed links (how this repository is measured)

Purpose Attributed link Target
Model page https://go.apimart.ai/k-9feae9 apimart.ai/ko/model/flow-music
Live pricing https://go.apimart.ai/k-621877 apimart.ai/ko/pricing
Get an API key https://go.apimart.ai/k-cb3aa5 apimart.ai/ko/keys

Outbound APIMart links are minted through the promo link API; hand-made tracking parameters are rejected by tools/check_links.py in CI.

Disclosure

Flow Music is a third-party model served through APIMart; this repository documents how to call it and publishes model ids and prices, and does not claim official status. Model names, prices and documentation belong to their respective owners.

License

MIT — see LICENSE.