---
title: "POST /generation/create-audio"
method: POST
path: "/generation/create-audio"
tags: ["تولید محتوا"]
---

# POST /generation/create-audio

`POST /generation/create-audio`

ایجاد درخواست تولید فایل صوتی

## Query parameters

- `webhookUrl` string — Your Webhook URL, if specified, the result of the generation will be POSTed to this URL.
- `demoMode` 'failure' | 'success' — This parameter is used when the api key mode is 'development', default value is 'success'. when set to 'failure', the dummy generation will be 'failed' after a few seconds, if set to 'success', the dummy generation will be 'completed' after a few seconds.

## Request body

- union
  - object
    - `model` 'elevenlabs-3', required — اسم مدل
    - `stability` number, required — فقط اعداد 0، 0.5 و 1 برای الون لبز 3 مجاز هستند، مقدار کمتر مساوی احساسات بیشتر است.
    - `dialogs` object[], required
      - `text` string, required
      - `voiceName` 'Jessica' | 'Halley' | 'Adam' | 'Grandpa Spuds' | 'Grandma Rachel' | 'Brian' | 'Cassidy' | 'David Castlemore' | 'Daniel' | 'Lily' | 'Hope' | 'George' | 'Charlie' | 'John Doe' | 'Charlotte' | 'Liam' | 'Brittney' | 'Alice' | 'Alex Young' | 'Sarah' | 'Frederick Surrey' | 'Bill' | 'Ian Cartwell' | 'Matilda' | 'Will' | 'Callum' | 'Roger' | 'Laura' | 'Eric' | 'Chris' | 'River' | 'Aria', required — صدای الون لبز
  - object
    - `model` 'elevenlabs-2', required — اسم مدل
    - `stability` number, required
    - `style` number, required
    - `similarity` number, required
    - `prompt` string, required
    - `voiceName` 'Jessica' | 'Halley' | 'Adam' | 'Grandpa Spuds' | 'Grandma Rachel' | 'Brian' | 'Cassidy' | 'David Castlemore' | 'Daniel' | 'Lily' | 'Hope' | 'George' | 'Charlie' | 'John Doe' | 'Charlotte' | 'Liam' | 'Brittney' | 'Alice' | 'Alex Young' | 'Sarah' | 'Frederick Surrey' | 'Bill' | 'Ian Cartwell' | 'Matilda' | 'Will' | 'Callum' | 'Roger' | 'Laura' | 'Eric' | 'Chris' | 'River' | 'Aria', required — صدای الون لبز
  - object
    - `model` 'suno-5.5', required — اسم مدل
    - `gender` 'male' | 'female', required
    - `styleWeight` number
    - `weird` number
    - `audioWeight` number
    - `duration` integer, required
    - `negative` string
    - `audios` string[] — An array of audio file names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint.
    - `customMode` 'off', required
    - `prompt` string, required
  - object
    - `model` 'suno-5.5', required — اسم مدل
    - `gender` 'male' | 'female', required
    - `styleWeight` number
    - `weird` number
    - `audioWeight` number
    - `duration` integer, required
    - `negative` string
    - `audios` string[] — An array of audio file names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint.
    - `customMode` 'on', required
    - `prompt` string
    - `style` string, required
    - `title` string, required
    - `instrumental` boolean, required

## Response `200`

Response for status 200

- object
  - `genId` string, required

## Other responses

- `400` — Response for status 400
- `401` — Response for status 401
- `403` — Response for status 403
- `500` — Response for status 500

---

[API](https://skmtc.dev/radinai/apis/api.md) · [All operations](https://skmtc.dev/radinai/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/radinai/api/revisions/ab972cf11ad1/schema)
