Explore
TMake a Song via the TwoShot API

Create Songs from Your Own Code

POST a prompt to /generation, poll the job, download the finished MP3 or WAV. Everything the TwoShot web app can do, exposed as REST.

The song-creation endpoint is the single most-used tool in the TwoShot API. You pass a prompt (plus optional lyrics, genre, tempo, key, style references) and get back a full song — vocals, instrumentation, arrangement, intro and outro included — typically in 60 to 120 seconds. It's the same pipeline the web app uses, so output quality matches what users see in Coproducer. Most integrations use it as the backend for a consumer app: a user types a description in your UI, you POST to TwoShot, poll until done, and hand back a pre-signed URL for playback. The shape is intentionally simple — one endpoint, one job object, one result URL — so your app layer stays thin. Advanced parameters (reference tracks, voice cloning, duration overrides) are available but optional. For high-volume integrations, we run per-tenant capacity so your jobs don't queue behind other users. Pricing is per-credit, and credits map to compute-time. A typical 3-minute song costs roughly the same whether you run 1 a day or 10,000 — the system scales horizontally.

Read the API docs
Make me a catchy pop song about chasing your dreams with uplifting lyrics
T
Here's an uplifting pop anthem about following your dreams

Connect the TwoShot API in 30 seconds

Read docs.twoshot.app for the full REST reference. POST /generation with {modelId, inputs} and poll /generation/{jobId}.

First tool call opens a browser to sign you in with your TwoShot account — no separate API key.

Frequently Asked Questions

What's the prompt format?

Free-form text. 'Upbeat pop song about summer road trips, 130 BPM, female vocals' works fine. Advanced: pass structured fields (genre, tempo, key, mood, duration) as separate inputs for more predictable output.

Can I pass my own lyrics?

Yes — include a lyrics parameter in the inputs. The model will compose melody and arrangement around your words.

How long does a song take to make?

Typical 2-3 minute song: 60-120 seconds from POST to finished file. Longer songs scale roughly linearly.

Can I stream the output as it's being made?

Not yet — jobs return the complete file when done. For most consumer apps the wait is short enough to show a simple progress bar. Streaming is on the roadmap.

What formats does it output?

MP3 320 by default; WAV 24-bit on request via the outputFormat parameter. Stems (vocals, instrumental) available as a separate request against the finished job ID.

Also try make a song directly on TwoShot

Don't use the TwoShot API regularly? The full make a song experience is a free page on TwoShot — same models, no setup.

Related Integrations

Powerful Creative Tools

Everything you need to create, transform, and perfect your audio, images, and video

music_note

Music Creation

Create original music, beats, and sounds from text descriptions using AI. Any genre, any style.

image

Image Creation

Create stunning visuals, album covers, thumbnails, and art from text descriptions. Edit and upscale existing images.

movie

Video Creation

Create videos from text or images. Animate photos, create music videos, and produce motion content for social media.

record_voice_over

Voice Tools

Text-to-speech, voice enhancement, and vocal transformation.

call_split

Stem Separation

Isolate vocals, drums, bass, and instruments from any track in seconds.

auto_fix_high

Enhance & Clean Up

Remove background noise, upscale images, enhance video quality, and polish your media.

spatial_audio_off

Sound Effects

Generate custom SFX and foley for games, videos, and podcasts.

shuffle

Remix & Extend

Remix tracks in new styles or extend songs seamlessly with AI.

edit_note

Writing Tools

Cowrite lyrics and scripts - draft, refine, and iterate together until every line is right.

queue_music

Studio

Arrange, compose, and produce directly in your browser. Audio, video, images — all in one workspace.

library_music

Content Library

200,000+ royalty-free sounds and samples ready for commercial use.

What Will You Create?

AI tools for music, video, images, and voice

music_note

For Musicians & Producers

Turn ideas into tracks faster. Create beats, sounds, and full productions with AI assistance.

videocam

For Video Creators

Complete video production with AI. Generate videos, images, music, and voiceovers.

podcasts

For Podcasters

Studio-quality audio from any recording. Clean up interviews, enhance voices, and add music.

apartment

For Studios & Brands

Production-ready AI for audio, video, and visuals. Full rights clearance, API access, team collaboration.

Tailored Tracks

Transform your creative ideas into tangible sounds with our AI powered tools. Simply describe what you want - "fast drum & bass jungle-style drum loop" or "layered flutes inspired by nature" - and see the magic unfold.

Visual
Creation

Create stunning visuals from text descriptions. Design album covers, thumbnails, portraits, and art — all through conversation.

Motion
& Video

Create videos from text or images. Animate photos, produce music videos, and make motion content for social media.

error
Unavailable
error
Unavailable

Bring Photos
to Life

Upload any photo and watch it move. AI-powered motion control turns still images into dynamic dance videos and animations.

error
Unavailable

Transform
Any Image

Change backgrounds, remove objects, upscale resolution, and edit images through simple conversation. No Photoshop needed.

Your New
Cowriter

A creative partner for lyrics and scripts. Get a draft, then go back and forth - refine lines, try new angles, iterate together until it's exactly what you envisioned.

New Verse

[Verse 2] City lights blur past my window, neon dreams alive Headphones on, world fades out, feeling so alive Every beat a heartbeat, every drop a sign Lost in the rhythm, yeah this moment's mine Floating through the frequencies, sound waves intertwine Making magic happen, one bar at a time

Build Your Voice

Text-to-speech, voice enhancement, and vocal transformation. Create professional voiceovers in any style or voice.

Deconstruct
Audio

Isolate vocals, drums, bass, and instruments from any track in seconds. Perfect for remixing, sampling, or creating karaoke versions.

Enhance & Clean Up

Remove background noise, upscale images, enhance video quality, and polish your media.

Bespoke
SFX

Generate custom sound effects and foley for games, videos, and podcasts. From explosions to footsteps, create exactly what you need.

Reimagine
Sounds

Leverage the power of our AI to reimagine existing samples. Extract particular elements from a sample, or create a completely new sample based on a reference.

play_arrow

Ready for
the Studio

Arrange, compose, and produce directly in your browser with our online DAW. Drag and drop samples, add effects, and export your creations.

Plugin DemoFruity LoopsAbleton LiveLogic Pro

Trusted by Industry Professionals

From Grammy-winning producers to major labels, see who's creating with TwoShot

Fuse 808 Mafia
Fuse 808 Mafiaverified
@fuse808mafia
play_circle500M+ streams
Producer
Kaelin Ellis
Kaelin Ellisverified
@kaelinellis
play_circle100M+ streams
Producer
Kenny Beats
Kenny Beatsverified
@kennybeats
play_circle1B+ streams
Producer
Sony Music
Sony Musicverified
@sonymusic
Partner
verified100% Rights-Safe for Commercial Use