Bark
Suno's text-to-audio model. Generates realistic speech, music, and sound effects.
Examples
See what Bark can generate
Nature Ambience
0:15
"Peaceful forest soundscape with gentle bird songs, a babbling brook in the distance, rustling leaves in a light breeze, and occasional soft wind chimes, ambient and calming"
Retro Synth
0:20
"1980s synthwave track with pulsing arpeggiated synthesizers, heavy reverb snare drums, driving bass line, and shimmering pad layers, nostalgic and energetic, 120 BPM"
Pricing
API Integration
Use our OpenAI-compatible API to integrate Bark into your application.
npm install railwailimport railwail from "railwail";
const rw = railwail("YOUR_API_KEY");
// Simple — just pass a string
const reply = await rw.run("bark", "Hello! What can you do?");
console.log(reply);
// With message history
const reply2 = await rw.run("bark", [
{ role: "system", content: "You are a helpful assistant." },
{ role: "user", content: "Explain quantum computing simply." },
]);
console.log(reply2);
// Full response with usage info
const res = await rw.chat("bark", [
{ role: "user", content: "Hello!" },
], { temperature: 0.7, max_tokens: 500 });
console.log(res.choices[0].message.content);
console.log(res.usage);Free credits on sign-up
Related Models
View all Audio & MusicMusicGen
Meta's music generation model. Generate up to 1 minute of music from text descriptions.
Suno v4
Suno's latest music AI. Generates complete songs with lyrics, vocals, and instrumentation. Supports many genres and custom lyrics.
Udio
AI music generation platform creating full songs with vocals and lyrics from text descriptions. Wide range of genres and styles.
MusicGen Large
Meta's open-source music generation model. Creates high-quality music from text descriptions with control over style, tempo, and instruments.
Start using Bark today
Get started with free credits. No credit card required. Access Bark and 100+ other models through a single API.