---
title: "Generate Sound Based on Given Prompt"
method: POST
path: "/v1/sound_generator"
---

# Generate Sound Based on Given Prompt

`POST /v1/sound_generator`

Creates an audio file based on a textual prompt. The generation process is asynchronous and returns a task ID for tracking.

## Response `200`

Successfully initiated sound generation

- object
  - `success` boolean
  - `task_id` string
  - `conversion_id` string
  - `eta` integer
  - `credit_estimate` number, float
  - `message` string

## Other responses

- `422` — Validation Error
- `500` — Server Error

---

[API](https://skmtc.net/musicgpt/apis/musicgpt-api.md) · [All operations](https://skmtc.net/musicgpt/apis/musicgpt-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/musicgpt/musicgpt-api/revisions/6753dccf4c5d/schema)
