{"uid":"cap_07C62_Fprhq28J_QfZ3U8","slug":"daydream-ai-music-generator-cc69868a","name":"Daydream AI Music Generator","description":"Describe a song, get it in seconds. Download mixes and stems, royalty-free for commercial use. 5 free songs a month, then 5¢ a song.","url":"https://gen.daydream.live/v1/songs?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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","required":["prompt"],"properties":{"bpm":{"type":"integer","maximum":200,"minimum":60},"key":{"type":"string","examples":["F# minor"]},"loop":{"type":"boolean","description":"A seamless loop."},"prompt":{"type":"string","description":"The song, in words: genre, mood, instruments."},"duration":{"type":"number","maximum":120,"minimum":10,"description":"Seconds."}}},"type":{"const":"http"},"method":{"enum":["POST"]},"bodyType":{"const":"json"}}},"output":{"type":"object"}}},"responseSchema":{"type":"json","example":{"id":"sng_4hT2kq9XbV1nLm0pQe3rZa","takes":[],"status":"queued","position":1,"access_token":"…"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_B33TxW2RJauJpn6mRUwOs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a royalty-free AI music track from a text prompt, with optional BPM, key, duration, and loop settings","exampleAgentPrompt":"Can you generate a 60-second upbeat lo-fi hip hop track at 90 BPM in D minor that loops seamlessly — I need it royalty-free for a YouTube video background?","exampleUseCases":[{"title":"Background music for YouTube video","prompt":"Make me a 90-second chill acoustic guitar track at 75 BPM in G major — something calm and warm I can use as background music in my travel vlog, royalty-free."},{"title":"Looping soundtrack for mobile game","prompt":"Generate a seamless looping chiptune track, about 30 seconds, at 120 BPM in C major — upbeat and energetic for a mobile game menu screen."},{"title":"Custom jingle for brand ad","prompt":"I need a 15-second punchy electronic jingle with a driving beat at 130 BPM in F minor for a product launch ad — something bold and modern I can use commercially."}],"resultDescription":"Returns a JSON object with a song ID, queue position, processing status ('queued'), and an access token used to retrieve the finished audio file (mixes and stems) once generation completes.","failureModes":["Invalid prompt (empty or missing) returns a 400 error","BPM outside 60–200 range or duration outside 10–120 seconds triggers a validation error","Payment failure (insufficient USDC balance) results in a 402 response","Service queue overload may increase wait time or return a timeout","Access token expiry before download completes may require re-fetching"],"whenToPreferThis":"Choose this endpoint when you need royalty-free AI-generated music with fine-grained control over BPM, musical key, duration, and loop behavior, especially when cost efficiency matters ($0.05 per song). It is ideal for agents automating content pipelines that require commercial-use audio without licensing overhead, and when stems (individual instrument tracks) are needed for post-production remixing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T13:06:37.980Z","isFirstParty":false,"canonicalSlug":"daydream-ai-music-generator-cc69868a"}