Uploads audio files to the Vimmerse platform for use in API requests and video production.
audio_url parameter in other endpointsNew Audio URL
Bad Request
Insufficient Credit
Validation Error
{- "data": {
- "id": "ASSET_ID",
- "customer_id": "CUSTOMER_ID",
- "primary_user_id": "CUSTOMER_ID",
- "args": { },
- "results": [
- "result_url1",
- "result_url2"
], - "thumbnails": [ ],
- "status": "success",
- "mime_type": "MIMETYPE",
- "app_name": "FUNCTION_NAME",
- "created_at": "2025-05-06 16:35:59.840508+00:00",
- "updated_at": "2025-05-06 16:35:59.840508+00:00",
- "history": [ ]
}
}Converts text to natural-sounding speech using AI voice synthesis.
The API generates realistic human-like speech from text input using advanced neural voice technology. This is perfect for creating voiceovers, narrations, and spoken content without needing to record audio.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt |
string | Yes | - | Text to convert to speech. Maximum length: ~5,000 characters. Plain text or simple formatting. |
voice |
string | No | "Rachel" | Voice selection. See available voices below. |
option |
string | No | "" | Service model option: "ElevenLabsTTS" or "ChirpTTS". If empty, defaults to ElevenLabs. |
language |
string | No | "" | Language code (e.g., "en-US"). Used with ChirpTTS option. Auto-detected if not provided. |
| Voice Name | Gender | Character |
|---|---|---|
| Rachel | Female | Professional, warm |
| Aria | Female | Friendly, energetic |
| Sarah | Female | Calm, authoritative |
| Laura | Female | Cheerful, upbeat |
| Charlotte | Female | Elegant, refined |
| Alice | Female | Young, playful |
| Matilda | Female | Sophisticated, mature |
| Jessica | Female | Clear, professional |
| Lily | Female | Sweet, gentle |
| Roger | Male | Strong, confident |
| George | Male | Deep, authoritative |
| Callum | Male | Friendly, approachable |
| River | Male | Smooth, engaging |
| Liam | Male | Natural, conversational |
| Will | Male | Professional, clear |
| Eric | Male | Bold, dynamic |
| Chris | Male | Warm, trustworthy |
| Brian | Male | Mature, distinguished |
| Daniel | Male | Confident, articulate |
| Bill | Male | Energetic, engaging |
| Charlie | Male | Youthful, energetic |
import requests
BASE_URL = "https://api.vimmerse.net"
API_KEY = "YOUR_API_KEY"
url = f"{BASE_URL}/audio/text-2-speech"
headers = {"X-Api-Key": API_KEY}
payload = {
"prompt": "Welcome to our AI-powered creative platform. We're excited to show you what's possible.",
"voice": "Aria", # Choose from available voices
"option": "ElevenLabsTTS" # Optional: specify service model
}
try:
response = requests.post(url, headers=headers, data=payload, timeout=60)
response.raise_for_status()
result = response.json()
audio_data = result["data"]
# Response contains array of objects with URL
if audio_data and len(audio_data) > 0:
audio_url = audio_data[0].get("URL")
print(f"Audio generated successfully!")
print(f"Audio URL: {audio_url}")
except requests.exceptions.HTTPError as e:
print(f"HTTP Error: {e}")
if e.response is not None:
print(f"Response: {e.response.text}")
except requests.exceptions.RequestException as e:
print(f"Request failed: {e}")
Returns an array of objects containing:
URL - Audio file URL that can be used in video production or downloaded directlythumbnail_url - Thumbnail image URL (if available)200 - Success. Audio generation completed.400 - Bad Request. Invalid parameters or missing required fields.402 - Payment Required. Insufficient credits in your account.422 - Unprocessable Entity. Failed to generate audio (may fallback to alternative service).Audio URL
Bad Request
Insufficient Credit
Validation Error
{- "data": {
- "id": "ASSET_ID",
- "customer_id": "CUSTOMER_ID",
- "primary_user_id": "CUSTOMER_ID",
- "args": { },
- "results": [
- "result_url1",
- "result_url2"
], - "thumbnails": [ ],
- "status": "success",
- "mime_type": "MIMETYPE",
- "app_name": "FUNCTION_NAME",
- "created_at": "2025-05-06 16:35:59.840508+00:00",
- "updated_at": "2025-05-06 16:35:59.840508+00:00",
- "history": [ ]
}
}Generates sound effects from text descriptions using AI audio synthesis.
Creates realistic sound effects based on natural language descriptions. No need for sound libraries or manual creation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt |
string | Yes | - | Description of the desired sound effect. Be specific for better results. |
duration |
integer | No | 5 | Length of audio in seconds. Range: 1-30 seconds. |
import requests
BASE_URL = "https://api.vimmerse.net"
API_KEY = "YOUR_API_KEY"
url = f"{BASE_URL}/audio/text-2-sound-effect"
headers = {"X-Api-Key": API_KEY}
payload = {
"prompt": "ambient cafe sounds with coffee brewing and distant chatter",
"duration": 10 # 10-second sound effect
}
try:
response = requests.post(url, headers=headers, data=payload, timeout=60)
response.raise_for_status()
result = response.json()
audio_data = result["data"]
if audio_data and len(audio_data) > 0:
audio_url = audio_data[0].get("URL")
print(f"Sound effect generated successfully!")
print(f"Audio URL: {audio_url}")
except requests.exceptions.HTTPError as e:
print(f"HTTP Error: {e}")
except requests.exceptions.RequestException as e:
print(f"Request failed: {e}")
200 - Success. Sound effect generation completed.400 - Bad Request. Invalid parameters or missing required fields.402 - Payment Required. Insufficient credits in your account.422 - Unprocessable Entity. Failed to generate sound effect.Audio URL
Bad Request
Insufficient Credit
Validation Error
{- "data": {
- "id": "ASSET_ID",
- "customer_id": "CUSTOMER_ID",
- "primary_user_id": "CUSTOMER_ID",
- "args": { },
- "results": [
- "result_url1",
- "result_url2"
], - "thumbnails": [ ],
- "status": "success",
- "mime_type": "MIMETYPE",
- "app_name": "FUNCTION_NAME",
- "created_at": "2025-05-06 16:35:59.840508+00:00",
- "updated_at": "2025-05-06 16:35:59.840508+00:00",
- "history": [ ]
}
}Generates 30-second music tracks from text descriptions using Google's Lyria music AI.
Creates original, royalty-free music compositions based on natural language descriptions. Each track is 30 seconds long and unique.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt |
string | Yes | - | Description of the desired music. Include genre, mood, instruments, and tempo for best results. |
import requests
BASE_URL = "https://api.vimmerse.net"
API_KEY = "YOUR_API_KEY"
url = f"{BASE_URL}/audio/text-2-music"
headers = {"X-Api-Key": API_KEY}
payload = {
"prompt": "A lush, ambient soundscape featuring flowing water sounds, distant bird chirps, and a gentle melancholic piano melody that slowly unfolds. Create a peaceful, meditative atmosphere suitable for relaxation or background music."
}
try:
response = requests.post(url, headers=headers, data=payload, timeout=120)
response.raise_for_status()
result = response.json()
audio_data = result["data"]
if audio_data and len(audio_data) > 0:
audio_url = audio_data[0].get("URL")
print(f"Music generated successfully!")
print(f"Audio URL: {audio_url}")
except requests.exceptions.HTTPError as e:
print(f"HTTP Error: {e}")
except requests.exceptions.RequestException as e:
print(f"Request failed: {e}")
Returns a WAV audio file (30 seconds) that can be used commercially without royalty concerns.
200 - Success. Music generation completed.400 - Bad Request. Invalid parameters or missing required fields.402 - Payment Required. Insufficient credits in your account.422 - Unprocessable Entity. Failed to generate music.Audio URL
Bad Request
Insufficient Credit
Validation Error
{- "data": {
- "id": "ASSET_ID",
- "customer_id": "CUSTOMER_ID",
- "primary_user_id": "CUSTOMER_ID",
- "args": { },
- "results": [
- "result_url1",
- "result_url2"
], - "thumbnails": [ ],
- "status": "success",
- "mime_type": "MIMETYPE",
- "app_name": "FUNCTION_NAME",
- "created_at": "2025-05-06 16:35:59.840508+00:00",
- "updated_at": "2025-05-06 16:35:59.840508+00:00",
- "history": [ ]
}
}