Music Series
Generate Music
AI-powered music generation with customizable styles and vocals
POST
Documentation Index
Fetch the complete documentation index at: https://docs.vidgo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Usage Guide
- This endpoint creates music based on your text prompt
- Multiple variations will be generated for each request
- You can control detail level with custom mode and instrumental settings
Parameter Details
-
In Custom Mode (
custom_mode: true):-
If
instrumental: true:styleandtitleare required -
If
instrumental: false:style,prompt, andtitleare required -
Character limits vary by model:
-
V4:
prompt3000 characters,style200 characters -
V4_5 & V4_5PLUS:
prompt5000 characters,style1000 characters -
V4_5ALL:
prompt5000 characters,style1000 characters -
V5:
prompt5000 characters,style1000 characters
-
V4:
-
titlelength limit: 80 characters (all models)
-
If
-
In Non-custom Mode (
custom_mode: false):-
promptlength limit: 500 characters - Other parameters should be left empty
-
Developer Notes
- Recommendation for new users: Start with
custom_mode: falsefor simpler usage
Optional parameters
-
vocal_gender(string): Vocal gender preference. Usemfor male,ffor female. Note: This parameter is only effective whencustom_modeistrue. Based on practice, this parameter can only increase the probability but cannot guarantee adherence to male/female voice instructions. -
style_weight(number): Strength of adherence to style. Range 0-1, up to 2 decimals. Example:0.65. -
weirdness_constraint(number): Controls creative deviation. Range 0-1, up to 2 decimals. Example:0.65. -
audio_weight(number): Balance weight for audio features. Range 0-1, up to 2 decimals. Example:0.65. -
persona_id(string): Persona ID to apply to the generated music. Use this to apply a specific persona style to your music generation. Only available when Custom Mode is enabled. How to generate persona_id, visit generate-persona.
Authorizations
All API endpoints require Bearer Token authentication
Get your API Key:
Visit the API Key Management Page to get your API Key
Add it to the request header:
Authorization: Bearer VIDGO_API_KEYBody
application/json
API model identifier.
Must be generate-music for this endpoint.
Available options:
generate-music Example:
"generate-music"
Input parameters for music generation
Webhook callback URL for result notifications
Example:
"https://your-domain.com/callback"