> ## Documentation Index
> Fetch the complete documentation index at: https://docs.youka.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Node.js SDK

> आधिकारिक TypeScript SDK के साथ Node.js और Bun से Youka को ऑटोमेट करें

`@youka/sdk` Youka API के लिए आधिकारिक TypeScript SDK है। इसका उपयोग ऑडियो या वीडियो से कराओके बनाने, लिरिक्स और स्टाइलिंग को कस्टमाइज़ करने, MP4 वीडियो एक्सपोर्ट करने, और Youka वर्कफ़्लो को Node.js या Bun ऐप्स में बनाने के लिए करें।

## इंस्टॉल

<CodeGroup>
  ```bash npm theme={null}
  npm install @youka/sdk
  ```

  ```bash pnpm theme={null}
  pnpm add @youka/sdk
  ```

  ```bash yarn theme={null}
  yarn add @youka/sdk
  ```

  ```bash bun theme={null}
  bun add @youka/sdk
  ```
</CodeGroup>

## आवश्यकताएँ

* Node.js 20 या उससे नया, या Bun 1.1+
* `YOUKA_API_KEY` में एक Youka API key (इसे [online.youka.io/account](https://online.youka.io/account) पर **API keys** के तहत बनाएँ)

## त्वरित उदाहरण

```ts theme={null}
import { YoukaClient } from "@youka/hi/sdk";

const client = new YoukaClient({
  apiKey: process.env.YOUKA_API_KEY!,
});

const operation = await client.projects.create({
  source: { type: "path", path: "./song.mp3" },
  lyricsSource: { type: "transcribe" },
});

const { project } = await client.projects.wait(operation);
console.log(project.id, project.title);
```

## संदर्भ

<Columns cols={2}>
  <Card title="Quickstart" icon="rocket" href="/hi/sdk/quickstart">
    एंड-टू-एंड उदाहरण: बनाएं, वेट करें, एक्सपोर्ट करें, डाउनलोड करें।
  </Card>

  <Card title="Authentication" icon="key" href="/hi/sdk/authentication">
    `YoukaClient` को कॉन्फ़िगर करें और API keys को सुरक्षित रूप से संभालें।
  </Card>

  <Card title="Account, credits, and billing" icon="credit-card" href="/hi/sdk/account-billing">
    पहचान, बैलेंस, प्राइसिंग, चेकआउट, और बिलिंग पोर्टल हेल्पर्स।
  </Card>

  <Card title="Projects" icon="folder" href="/hi/sdk/projects">
    अपलोड, क्रिएशन, लिस्टिंग, और डिलीशन।
  </Card>

  <Card title="Stems" icon="waveform-lines" href="/hi/sdk/stems">
    स्टेम सेपरेशन टास्क्स ट्रिगर करें।
  </Card>

  <Card title="Lyrics sync" icon="closed-captioning" href="/hi/sdk/lyrics-sync">
    लिरिक्स सिंक्रोनाइज़ेशन को दोबारा चलाएँ।
  </Card>

  <Card title="Exports" icon="file-video" href="/hi/sdk/exports">
    क्लाउड और लोकल एक्सपोर्ट वर्कफ़्लो।
  </Card>

  <Card title="Tasks" icon="list-check" href="/hi/sdk/tasks">
    टास्क्स की जाँच करें और कंप्लीशन के लिए वेट करें।
  </Card>

  <Card title="Presets" icon="palette" href="/hi/sdk/presets">
    पुन: उपयोग करने योग्य रेंडर कॉन्फ़िगरेशन।
  </Card>

  <Card title="Media" icon="image" href="/hi/sdk/media">
    बैकग्राउंड्स, लोगो, और इंट्रो अपलोड करें।
  </Card>

  <Card title="Project settings" icon="sliders" href="/hi/sdk/project-settings">
    प्रोजेक्ट-लेवल रेंडर सेटिंग्स।
  </Card>

  <Card title="Errors" icon="triangle-exclamation" href="/hi/sdk/errors">
    `YoukaRequestError` और `YoukaTaskError`।
  </Card>
</Columns>

## आगे क्या

* [Quickstart](/hi/sdk/quickstart) — तैयार कराओके तक पहुँचने का सबसे छोटा रास्ता
* [API reference](/hi/api) — हर endpoint, OpenAPI से ऑटो-जेनरेटेड
* [AI agents](/hi/agents) — एजेंट लेखकों के लिए ऑपरेटिंग नियम
