Back to Media creation

CassetteAI Music Generator

CassetteAI

Generate music from text prompts with duration and instrumental controls.

Current price
$0.0280/minute
Availability
Ready to run
Last accepted verification
Not available

What this API does

Create a ten-second to three-minute music track from a text prompt. The generated audio is preserved as a private scrollport artifact.

Agents select this operation with tool ID cassetteai.music-generator, then inspect its current executable contract before a run.

Public input and output shape

Input

durationinteger · optional

Value supplied for duration.

minimum: 10 · maximum: 180

promptstring · required

Instruction describing the requested generated output.

minLength: 1 · maxLength: 2000

Output

audioobject

Returned audio value.

notestring

Returned note value.

Example request and output

This reviewed worked example is shared with inspect. Inspect also returns the current executable schema and price estimate before a paid run.

Request

{
  "tool_id": "cassetteai.music-generator",
  "input": {
    "prompt": "warm optimistic electronic background music for a product launch",
    "duration": 30
  }
}

Output

{
  "note": "audio returned as an artifact",
  "audio": {
    "content_type": "audio/wav",
    "duration_seconds": 30
  }
}
Teaching errors and limitations

No listing-specific teaching errors are published. Inspect the tool before running to receive the current schema and error guidance.

Updated
18 August 2026

Use CassetteAI Music Generator with Scrollport

Scrollport identifies and validates the best-in-class API tools and provides them on a pay-as-you-go basis so you don't need to maintain a separate provider account, subscription or credits.

Give your agent the setup prompt to receive $1 in trial credit and start using the tools right away.