# 桃源 Compose API

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

桃源 Compose 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 2 JSON Schema definitions. Tagged areas include Compose. The published artifact set on APIs.io includes an OpenAPI specification and 2 JSON Schemas.

编译与修改（免费）/ Compile and revise (free)

## Operations (3)

| Method | Path | Summary |
|---|---|---|
| POST | `/v1/prompts/compile` | 编译：一句需求 → 歌词与风格（免费）/ Compile a request into a spec (free) |
| POST | `/v1/prompts/revise` | 修改：对 spec 应用一句指令（免费）/ Apply a one-line change to a spec (free) |
| POST | `/v1/prompts/lint` | 只做代码校验，不调模型（免费）/ Validate a spec without calling a model (free) |

## Machine-readable artifacts (3)

- **OpenAPI** — https://artifacts.apis.io/musicsforyou-com/openapi/musicsforyou-com-compose-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-compile-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/)
- [桃源 Edit API](https://apis.io/apis/musicsforyou-com/musicsforyou-com-edit-api/)
- [桃源 Generate API](https://apis.io/apis/musicsforyou-com/musicsforyou-com-generate-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

Compose

## 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-compose-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/musicsforyou-com/.
