Skip to main content
This guide walks through the fastest path from a raw audio file to a rendered karaoke video using @youka/sdk.

Before you start

  • Node.js 20 or later
  • A Youka API key in YOUKA_API_KEY (create one at online.youka.io/account under API keys)
  • A local audio file (./song.mp3) or a remote URL

Install

Create, wait, export

client.projects.create() handles uploads for path, bytes, and url sources. For lower-level upload control, use client.uploads.*.

Three source types

What’s next

  • Projects — full projects API
  • Exports — local render and client.exports.prepareLocal
  • Errors — handle YoukaRequestError and YoukaTaskError
  • AI agents — recommended polling and retry patterns