Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man music-generate

/music-generate

agentutility / synthforge / music-generate
PRICE / CALL
$0.05
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
synthforge
CATEGORY
uncategorized
STATUS
live
NAME
music-generate generates music from a text prompt via venice using the minimax-music-v26 model
SYNOPSIS
POST https://x402.agentutility.ai/music-generate
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Generates music from a text prompt via Venice using the minimax-music-v26 model. Optional lyrics input. Duration 5-120 seconds. Returns a permanent fal-hosted audio URL (or a Venice-hosted URL when Venice already provides one). Use it for AI music generation, text-to-music, generative songs, and instrumental or vocal music.

INPUTrequest schema
propertytypedescriptionreq?
promptstringGenre / mood / instrumentation description.required
duration_secondsnumberLength in seconds. Range [5, 120]. Default 30.optional
lyricsstringOptional lyrics. The model will sing them.optional
modelstringOverride the model. Default 'minimax-music-v26'.optional
OUTPUTresponse shape
fieldtypedescription
audio_urlstringPermanent URL to the generated audio file, fal-hosted by default or Venice-hosted when Venice supplies one.
duration_secondsstringLength of the generated track in seconds, between 5 and 120 as requested in the input.
modelstringModel identifier used to generate the track, typically minimax-music-v26 on Venice.
promptstringText prompt describing the music to generate, echoed back from the input for reference.
venice_request_idstringVenice-side request identifier for the generation job, useful for tracing or support follow-up.
sourcestringOrigin of the audio URL, either fal (re-hosted) or venice (direct Venice-hosted asset).
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/music-generate \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the music-generate tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
synthforgemusic-generationtext-to-musicai-musicgenerative-audioinstrumentalvocalsminimax-music
methods
POST
cluster
synthforge
price
$0.05 USDC per call
ADJACENTother endpoints in synthforge
endpointdescriptionprice
text-to-speechConverts text to speech with 30+ voices and 5 audio formats.$0.05
voiceConverts text to speech with 30+ voices and MP3/WAV/OPUS/AAC/FLAC output.$0.05
image-generate-proPremium text-to-image generation across margin-safe Venice models at a competitive $0.06/call.$0.06
recraftGenerates SFW design and illustration images with Venice's recraft-v4 model on a dedicated endpoint.$0.06
seedreamGenerates SFW images with Venice's seedream-v4 model on a dedicated endpoint.$0.06
flux-2-proGenerates SFW images with Venice's flux-2-pro model on a dedicated endpoint.$0.04
qwen-imageGenerates SFW images with Venice's qwen-image model on a dedicated endpoint.$0.04
background-removeRemoves the background from a public image URL and returns the subject with alpha transparency.$0.08
SEE ALSO
agentutility · synthforge · x402 · mcp · llms.txt · registry.json · bazaar.x402.org