Ai Song Generator avatar
Ai Song Generator

Pricing

from $60.00 / 1,000 results

Go to Apify Store
Ai Song Generator

Ai Song Generator

AI Songs Generator API that converts text prompts into original songs. Generate complete tracks with lyrics and music based on theme, mood, or genre, ideal for creators, marketers, apps, and automated media workflows.

Pricing

from $60.00 / 1,000 results

Rating

0.0

(0)

Developer

Taher Ali Badnawarwala

Taher Ali Badnawarwala

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 hours ago

Last modified

Share


TL;DR

  • Input: Lyrics text (required) + optional title, tags, language, duration
  • Output: Song URL + thumbnail + metadata
  • Use it for: Content, jingles, demos, automation, prototyping
  • Result time: Usually under 2 minutes

Table of contents


Try it now

ActionLink
Run in Apify ConsoleOpen Actor → Start
API (sync)POST https://api.apify.com/v2/acts/YOUR_USERNAME~ai-song-generator/run-sync

Replace YOUR_USERNAME with your Apify username.


Overview

The AI Song Generator creates songs from lyrics using the MultipleWords lyrics-to-melody API. You provide lyrics (verses, choruses, mood), and the Actor returns a generated song URL, thumbnail, and structured metadata.

This Actor is useful when you need songs on demand, at scale, or as part of an automated workflow.

Common use cases

CategoryExamples
ContentYouTube, podcasts, social media, background music
MarketingJingles, product launches, branded audio
AutomationScheduled songs, bots, workflows
DevelopmentPrototypes, demos, A/B testing, pipelines

Note: Usage rights depend on the upstream API and your Apify plan. Review terms before commercial use.


Usage examples

Paste lyrics into the Lyrics field or API input.

ScenarioLyrics (excerpt)
Folk / reflectiveThought I found my footing, now I'm slipping again…
Hope / dreamsCreate a beautiful melody for these lyrics about hope and dreams
Custom title + tagsLyrics + title: "Slipping Away", tags: "folk"

Example input

{
"lyrics": "Thought I found my footing, now I'm slipping again\nFelt the ground beneath me, then it crumbled within\nTried to hold on to a feeling, but it just won't stay\nEvery step I take seems to lead me astray",
"title": "Slipping Away",
"tags": "folk",
"language": "English",
"audioDuration": 60
}

Features

  • Lyrics-to-song generation from a single lyrics input
  • Clean JSON output for easy integration
  • Works in bulk via API
  • Input validation and retries with exponential backoff
  • Runs fully on Apify (Console, API, automation tools)
  • Optional audio settings (duration, reference audio, style)

Configuration

All settings are provided via the Actor input.

Input parameters

ParameterTypeRequiredDefaultDescription
lyricsstringYesLyrics text to convert to melody
titlestringNoA gentle breeze,Title of the song
tagsstringNofolkTags/style (e.g. folk, pop)
languagestringNoEnglishLanguage of the lyrics
countrystringNoIndiaCountry/locale
audioDurationnumberNo41Target audio duration (seconds)
audio2audioEnablebooleanNotrueEnable audio-to-audio processing
refAudioStrengthnumberNo0.2Reference audio strength (0–1)
refFileUrlstringNoOptional reference audio URL
publicStatusbooleanNotrueWhether the song is public

Lyrics tips

  • Write complete verses and choruses for better results
  • Use line breaks to help melody structure
  • Mention mood or genre in lyrics or tags
  • Specify language and country for localized output

Usage

Apify Console

  1. Open the Actor in Apify Console.
  2. Enter lyrics in the Lyrics field (or use the default).
  3. Optionally set Title, Tags, Language, Audio duration.
  4. Click Start and check the Output tab for the song URL and metadata.

API (run-sync)

Replace YOUR_USERNAME with your Apify username and YOUR_API_TOKEN with your Apify API token.

curl -X POST "https://api.apify.com/v2/acts/YOUR_USERNAME~ai-song-generator/run-sync?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"lyrics": "Thought I found my footing, now I am slipping again.", "title": "Slipping Away"}'

Response includes runId, status, and dataset items with shortUrl, shortId, and details.


Output

Each run writes one or more items to the default dataset. The Output tab shows organized tables (via the output schema). Each item looks like:

FieldDescription
statusAPI status (1 = success)
shortIdUnique identifier for the generated song
shortUrlDirect URL to access the generated song
detailsFull metadata (title, thumbnail, output URLs, job status, etc.)
timestampWhen the result was saved

Key fields in details

FieldDescription
shortTitleTitle of the generated song
shortThumbnailURL of the song thumbnail image
shortUrlOutput1shortUrlOutput4Output URLs for different versions
shortsGenerateJobStatusStatus of the generation job
timestampWhen the song was created
isPublicWhether the song is publicly accessible

Example output (dataset item)

{
"status": 1,
"shortId": 123456,
"shortUrl": "https://example.com/song/123456",
"details": {
"shortTitle": "Slipping Away",
"shortThumbnail": "https://example.com/thumbnail.jpg",
"shortUrlOutput1": "https://example.com/output1.mp3",
"shortsGenerateJobStatus": 1,
"timestamp": "2026-01-27T12:00:00.000Z",
"isPublic": true
},
"timestamp": "2026-01-27T12:00:00.000Z"
}

In the Apify Console Output tab you can open Song URL as a link or copy it for use in players, downloads, or automation.


For bloggers & tutorial writers

You can use this Actor in tutorials, blog posts, or videos without running it first:

For promotion ideas, copy-paste posts, and where to share, see PROMOTION.md in this repo.


Integration

  • Make (Integromat) — Use the Apify module and select this Actor; map your lyrics to the Lyrics input.
  • Zapier — Use the Apify Zapier app and choose "Run Actor"; select this Actor and pass the lyrics.
  • Custom apps — Call the Apify API (/run or /run-sync) with the same input JSON.

Technical details

  • Runtime: Node.js (see Dockerfile).
  • Input: Validated against the input schema; invalid input returns a clear error.
  • External API: Uses MultipleWords lyrics-to-melody API; failures are retried with exponential backoff.
  • Output schema: Results are displayed in organized tables in the Apify Console Output tab (see Output schema).

FAQ

How long does a run take?
Usually under 2 minutes for a single lyrics input.

Can I run multiple lyrics in one go?
Each run processes one input. For bulk, use the API or automation tools (e.g. Make/Zapier) to run the Actor multiple times.

Where is the audio stored?
The audio is hosted by the upstream API. The Actor returns the URL; you can stream or download it.

Do I need an API key for the song API?
The Actor uses its own integration; you only need your Apify account and (for API calls) your Apify API token.

What audio formats are supported?
Output URLs typically point to standard audio formats (e.g. MP3). Check the API response for exact formats.


Resources

  • Apify Console — Run the Actor and view datasets
  • Apify API — Run actors programmatically
  • Output schema (Apify docs) — How output is displayed
  • PROMOTION.md — How to promote this Actor and grow your user base
  • .actor/CHANGELOG.md — Version history