Suno v4

New
Popular
Custom
Audio & Music

Suno's latest music AI. Generates complete songs with lyrics, vocals, and instrumentation. Supports many genres and custom lyrics.

Try Suno v4
Sign up free to start generating
Get Started

Pricing

Price per Generation
Per generationFree

API Integration

Use our OpenAI-compatible API to integrate Suno v4 into your application.

Install
npm install railwail
JavaScript / TypeScript
import railwail from "railwail";

const rw = railwail("YOUR_API_KEY");

// Simple — just pass a string
const reply = await rw.run("suno-v4", "Hello! What can you do?");
console.log(reply);

// With message history
const reply2 = await rw.run("suno-v4", [
  { 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("suno-v4", [
  { role: "user", content: "Hello!" },
], { temperature: 0.7, max_tokens: 500 });
console.log(res.choices[0].message.content);
console.log(res.usage);
Specifications
Provider
xAI
Category
Audio & Music
Tags
music
lyrics
popular
Try this model

Free credits on sign-up

Start using Suno v4 today

Get started with free credits. No credit card required. Access Suno v4 and 100+ other models through a single API.