Producer FUZZ music generation SDKs for JavaScript, Python, Ruby, Go, Java, and PHP on RunAPI.
The Producer SDK provides typed clients for generating FUZZ music with exact lyrics or an instrumental production brief. The public producer-sdk repository groups the non-PHP language packages, examples, CI, and language release tags. The PHP package is released from a split Composer repository.
npm install @runapi.ai/producer
pip install runapi-producer
gem install runapi-producer
go get github.com/runapi-ai/producer-sdk/go@latestGradle:
dependencies {
implementation("ai.runapi:runapi-producer:0.2.0")
}The PHP package is published from the split Composer repository as runapi-ai/producer; see https://github.com/runapi-ai/producer-php for PHP install and examples.
import { ProducerClient } from '@runapi.ai/producer';
const client = new ProducerClient();
const result = await client.textToMusic.run({
model: 'fuzz-2.0',
vocal_mode: 'exact_lyrics',
prompt: 'Warm acoustic pop with clear vocals',
lyrics: '[Verse]\nMorning light across the room',
title: 'Morning Light',
});
console.log(result.audios[0].audio_url);Use vocal_mode exact_lyrics with lyrics, or instrumental without lyrics. Use create, get, and run to submit, inspect, or create-and-poll a task.
Supported models: fuzz-2.0, fuzz-2.0-pro, fuzz-2.0-raw, fuzz-1.1-pro, fuzz-1.0-pro, fuzz-1.0, fuzz-1.1, and fuzz-0.8.
js/publishes@runapi.ai/producer.python/publishesrunapi-producer.ruby/publishesrunapi-producer.go/publishesgithub.com/runapi-ai/producer-sdk/go.java/publishesai.runapi:runapi-producer.
Generated media URLs are temporary. Download and store results in your own durable storage.
- Model page: https://runapi.ai/models/producer
- FUZZ 2.0 details and pricing: https://runapi.ai/models/producer/fuzz-2.0
- Product docs: https://runapi.ai/docs#producer
- SDK docs: https://runapi.ai/docs#sdk-producer
- PHP package repository: https://github.com/runapi-ai/producer-php
- Provider page: https://runapi.ai/providers/producer
- Full catalog: https://runapi.ai/models
Licensed under the Apache License, Version 2.0.