Producer Ruby SDK for RunAPI

Use runapi-producer for FUZZ music generation in Ruby applications and workers.

Install

gem install runapi-producer

Quick Start

require "runapi/producer"

client = RunApi::Producer::Client.new
result = client.text_to_music.run(
  model: "fuzz-2.0",
  vocal_mode: "instrumental",
  prompt: "Cinematic ambient score with warm analog synths"
)
puts result.audios.first.audio_url

Use create, get, and run for asynchronous tasks. Use exact_lyrics with lyrics, or instrumental without lyrics. Generated media URLs are temporary and should be stored in durable storage.

Licensed under the Apache License, Version 2.0.