# song.money AI Song Generator

> song.money AI Song Generator is a paid API for AI agents from song.money, paid per call via x402, $4/call, status down (last checked 2026-10-20).

Generate an original AI-composed song (and optionally an AI music video) by submitting a creative prompt via POST, returning a track ID and polling endpoint for the result.

## Facts

- Endpoint: POST https://song.money/x402/songs?utm_source=zero.xyz
- Price: $4/call
- Payment: x402
- Status: down
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/song-money-ai-song-generator-d5b19415
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s_NtYTCoKcEAlOoK3r_UO

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability song-money-ai-song-generator-d5b19415 -d '<json body>'
```

Example prompt: Use song.money to generate an original upbeat pop song about summer road trips — I want a full track I can use for my social media content.

## When to prefer this

Choose this endpoint when you need to generate a brand-new, original AI-composed song (with optional music video) from a creative prompt, especially when you also want downstream distribution to TikTok, YouTube Shorts, or Instagram Reels via the song.money ecosystem. Prefer this over generic text-to-audio APIs when music video generation, catalog management, or creator licensing are also relevant to the workflow.

## Known failure modes

- Invalid or missing 'input' body returns a validation error
- Insufficient USDC balance or failed x402 payment results in 402 Payment Required
- Malformed bodyType enum value causes a 400 Bad Request
- Generation may time out if polled too infrequently or the service is under load
- Prompt content policy violations may reject the request

## How this service works

Generate whole songs and AI music videos, turn your catalog into audio-reactive videos, auto-post to TikTok, YouTube Shorts and Instagram Reels, and license your music to other creators — keeping 85%.

## Output

Returns a JSON object with a track_id (e.g. 't_9f2c...'), a status field set to 'generating', and a poll URL (e.g. 'GET /ai-songs?workspace_id=...') that the agent can poll to retrieve the completed song and video once generation is finished.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "poll": "GET /ai-songs?workspace_id=...",
  "status": "generating",
  "track_id": "t_9f2c..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/song-money-ai-song-generator-d5b19415/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from song.money](https://www.zero.xyz/host/song.money/llms.txt)
