# 桃源 Generate API

**Canonical:** https://apis.io/apis/musicsforyou-com/musicsforyou-com-generate-api/  
**Provider:** 桃源 — https://apis.io/providers/musicsforyou-com/  
**Base URL:** https://api.musicsforyou.com  
**Documentation:** https://www.musicsforyou.com/developers

桃源 Generate API is one of 8 APIs that [桃源](https://apis.io/providers/musicsforyou-com/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 3 JSON Schema definitions. Tagged areas include Generate. The published artifact set on APIs.io includes an OpenAPI specification and 3 JSON Schemas.

生成与查询 / Generate and poll

## Operations (4)

| Method | Path | Summary |
|---|---|---|
| POST | `/v1/songs` | 一步到位：一句话 → 完整歌曲（扣 1 次）/ One-shot: text in, finished song out (1 credit) |
| POST | `/v1/generations` | 提交生成（扣 1 次）/ Submit a generation (1 credit) |
| GET | `/v1/generations/{id}` | 查询生成状态（免费）/ Get a generation (free) |
| GET | `/v1/generations/{id}/events` | SSE 状态流（免费）/ Server-sent events (free) |

## Machine-readable artifacts (4)

- **OpenAPI** — https://artifacts.apis.io/musicsforyou-com/openapi/musicsforyou-com-generate-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/musicsforyou-com/json-schema/musicsforyou-com-generation-spec-schema.json
- **JSONSchema** — https://artifacts.apis.io/musicsforyou-com/json-schema/musicsforyou-com-generate-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/musicsforyou-com/json-schema/musicsforyou-com-song-request-schema.json

## Other 桃源 APIs (7)

- [桃源 Account API](https://apis.io/apis/musicsforyou-com/musicsforyou-com-account-api/)
- [桃源 Billing API](https://apis.io/apis/musicsforyou-com/musicsforyou-com-billing-api/)
- [桃源 Catalog API](https://apis.io/apis/musicsforyou-com/musicsforyou-com-catalog-api/)
- [桃源 Compose API](https://apis.io/apis/musicsforyou-com/musicsforyou-com-compose-api/)
- [桃源 Edit API](https://apis.io/apis/musicsforyou-com/musicsforyou-com-edit-api/)
- [桃源 Keys API](https://apis.io/apis/musicsforyou-com/musicsforyou-com-keys-api/)
- [桃源 Library API](https://apis.io/apis/musicsforyou-com/musicsforyou-com-library-api/)

## Tags

Generate

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/musicsforyou-com` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/musicsforyou-com/musicsforyou-com-generate-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/musicsforyou-com/.
