# Seed Audio 1.5

> Speech, SFX and music, video dubbing and translation into 30 languages, and stem splitting.

## Overview

- **Model ID**: `seed-audio-1.5`
- **Workflow**: `bytedance/seed-audio/v1.5`
- **Provider**: ByteDance
- **Origin**: Partner Model
- **Category**: Text → Audio (audio)
- **Output**: An audio URL.
- **Tags**: video dubbing, 30 languages, stem separation, reference audio
- **Unified endpoint**: `POST https://api.picsart.com/workflows/v1/models/execute` (model id in the body)
- **Compatibility endpoint**: `POST https://api.picsart.com/workflows/bytedance/seed-audio/v1.5/execute` (vendor's own parameters)
- **Execution**: long-running — use the async submit/poll pair or the SDK, which polls for you
- **Model page**: https://picsart.com/api-platform/models/seed-audio-1.5

## Pricing

Rates are in USD. Every row below is an exact rate for the settings it names — the columns are the settings that change the price for this model. Every response reports what was actually charged in `response.usage.credits`.

| Tier | Use case | Rate |
| --- | --- | --- |
| Any | Audio → audio | $0.05 / min |
| Any | Text → audio | $0.15 / min |
| Translation | Video → audio | $0.60 / min |
| Dubbing | Video → audio | $0.90 / min |

Published rates. Volume pricing, invoicing and annual agreements: https://picsart.com/api-platform/contact-sales

## Authentication

The SDK and the REST API authenticate with a Picsart API key sent as a bearer token. Create a key in the console at https://picsart.com/api-platform/dashboard/api-keys, keep it in a server-side environment variable, and never ship it in browser code or commit it.

```bash
export PICSART_API_KEY="YOUR_KEY"
```

```http
Authorization: Bearer $PICSART_API_KEY
```

The CLI and the MCP server do not use an API key: `gen-ai login` signs in through the browser once per machine and stores a token locally.

## Interfaces

- **SDK (TypeScript)** — `@picsart/ai-sdk` (Node 20+, ESM). Type-safe `ai.generate()` / `ai.generateText()` with per-model parameter types; polls long jobs for you.
- **SDK (Python)** — `picsart-ai-sdk` (Python 3.10+, async). The same surface in snake_case: `await ai.generate()` / `await ai.generate_text()`, with a typed input per model.
- **REST** — the API gateway at `https://api.picsart.com`. Sync `/execute`, or async `/submit` + `/{taskId}/result`.
- **CLI** — `@picsart/gen-ai` (`gen-ai`). Generate from a terminal, quote cost before spending, emit JSON for pipelines.
- **MCP** — the same models inside Claude Code, Cursor, Windsurf and other MCP hosts. Setup: https://picsart.com/gen-ai-mcp/

```bash
npm install @picsart/ai-sdk      # SDK (TypeScript)
pip install picsart-ai-sdk       # SDK (Python)
npm install -g @picsart/gen-ai   # CLI (also drives the MCP server)
```

## Unified API (recommended)

One parameter set, used by the SDK and by REST alike: the names below are what `ai.generate('seed-audio-1.5', …)` takes, and what goes inside the inner `params` of a REST call. Over REST the model id travels in the body, not the path — one workflow, `v1/models`, fronts the whole catalogue.

### Execution modes

- **Sync** — `POST /workflows/v1/models/execute` returns the result in one call. Only for jobs that finish within ~20 seconds; otherwise it times out.
- **Async** — `POST /workflows/v1/models/submit` returns a task id; poll `GET /workflows/v1/models/{taskId}/result` until `response.status` is `COMPLETED` or `FAILED`. Task statuses: `ACCEPTED` · `IN_PROGRESS` · `COMPLETED` · `FAILED`.
- **SDK** — `ai.generate()` always awaits the finished result; polling is hidden.

Audio jobs routinely outrun the sync limit: use async over REST, or the SDK, which polls for you.

### Input parameters

- **`mode`** (`string`, _optional_): Mode
  - Default: `"text-to-audio"`
  - Options: `text-to-audio`, `video-dubbing`, `video-translation`, `stem-separation`
- **`prompt`** (`string`, _optional_): The text to speak. For music and sound effects, what to make, in plain language.
  - e.g. "Every line to speak, who speaks it and how, plus SFX and music"
- **`audioUrls`** (`list<string>`, _optional_): Input audio files, as URLs.
  - Accepts: audio URLs (max 6), up to 30s
- **`imageUrls`** (`list<string>`, _optional_): Input images, as URLs: the image to edit, or references for subject, style or composition.
  - Accepts: image URLs (max 1)
- **`videoUrl`** (`string`, _optional_): The video to work on, as a URL.
  - Accepts: video URL, up to 360s
- **`audioUrl`** (`string`, _optional_): The audio to work on, as a URL.
  - Accepts: audio URL, up to 360s
- **`targetLanguage`** (`string`, _optional_): Translate To
  - Default: `"en"`
  - Options: `en`, `zh`, `ja`, `ko`, `de`, `fr`, `pt-BR`, `th`, `id`, `vi`, `ms`, `fil`, `it`, `ru`, `nl`, `pl`, `tr`, `sv`, `es-ES`, `es-MX`, `ar`, `pt-PT`, `fi`, `da`, `no`, `cs`, `hu`, `el`, `ro`, `hi`
- **`includeVideoAndSubtitles`** (`boolean`, _optional_): Translated Video and Subtitles
  - Default: `true`
- **`dialogueEnhancement`** (`string`, _optional_): Dialogue Enhancement
  - Default: `"off"`
  - Options: `off`, `low`, `medium`, `high`
- **`format`** (`string`, _optional_): File format of the result.
  - Default: `"wav"`
  - Options: `wav`, `mp3`, `pcm`, `ogg_opus`
- **`sampleRate`** (`number`, _optional_): Sample rate of the audio, in Hz.
  - Default: `44100`
  - Options: `8000`, `16000`, `24000`, `32000`, `44100`, `48000`
- **`speechRate`** (`number`, _optional_): Speaking speed, as a percentage change from normal.
  - Default: `0`
  - Range: -50–100
- **`loudnessRate`** (`number`, _optional_): Loudness, as a percentage change from normal.
  - Default: `0`
  - Range: -50–100
- **`pitchRate`** (`number`, _optional_): Pitch shift. 0 is the voice's own pitch.
  - Default: `0`
  - Range: -12–12

### Input JSON Schema

The inner `params` object. Over REST it is wrapped as `{ "params": { "model": "<id>", "params": <this> } }`; the SDK takes it directly.

```json
{
  "type": "object",
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "text-to-audio",
        "video-dubbing",
        "video-translation",
        "stem-separation"
      ],
      "default": "text-to-audio",
      "description": "Mode"
    },
    "prompt": {
      "type": "string",
      "description": "The text to speak. For music and sound effects, what to make, in plain language."
    },
    "audioUrls": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri",
        "description": "audio URL"
      },
      "maxItems": 6,
      "description": "Input audio files, as URLs."
    },
    "imageUrls": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri",
        "description": "image URL"
      },
      "maxItems": 1,
      "description": "Input images, as URLs: the image to edit, or references for subject, style or composition."
    },
    "videoUrl": {
      "type": "string",
      "format": "uri",
      "description": "The video to work on, as a URL."
    },
    "audioUrl": {
      "type": "string",
      "format": "uri",
      "description": "The audio to work on, as a URL."
    },
    "targetLanguage": {
      "type": "string",
      "enum": [
        "en",
        "zh",
        "ja",
        "ko",
        "de",
        "fr",
        "pt-BR",
        "th",
        "id",
        "vi",
        "ms",
        "fil",
        "it",
        "ru",
        "nl",
        "pl",
        "tr",
        "sv",
        "es-ES",
        "es-MX",
        "ar",
        "pt-PT",
        "fi",
        "da",
        "no",
        "cs",
        "hu",
        "el",
        "ro",
        "hi"
      ],
      "default": "en",
      "description": "Translate To"
    },
    "includeVideoAndSubtitles": {
      "type": "boolean",
      "default": true,
      "description": "Translated Video and Subtitles"
    },
    "dialogueEnhancement": {
      "type": "string",
      "enum": [
        "off",
        "low",
        "medium",
        "high"
      ],
      "default": "off",
      "description": "Dialogue Enhancement"
    },
    "format": {
      "type": "string",
      "enum": [
        "wav",
        "mp3",
        "pcm",
        "ogg_opus"
      ],
      "default": "wav",
      "description": "File format of the result."
    },
    "sampleRate": {
      "type": "number",
      "enum": [
        8000,
        16000,
        24000,
        32000,
        44100,
        48000
      ],
      "default": 44100,
      "description": "Sample rate of the audio, in Hz."
    },
    "speechRate": {
      "type": "number",
      "minimum": -50,
      "maximum": 100,
      "default": 0,
      "description": "Speaking speed, as a percentage change from normal."
    },
    "loudnessRate": {
      "type": "number",
      "minimum": -50,
      "maximum": 100,
      "default": 0,
      "description": "Loudness, as a percentage change from normal."
    },
    "pitchRate": {
      "type": "number",
      "minimum": -12,
      "maximum": 12,
      "default": 0,
      "description": "Pitch shift. 0 is the voice's own pitch."
    }
  },
  "additionalProperties": false
}
```

### Required parameters example

The required parameters plus the defaults that shape the output, as a REST body:

```json
{
  "params": {
    "model": "seed-audio-1.5",
    "params": {
      "prompt": "A serene mountain lake at golden hour, ultra detailed"
    }
  }
}
```

### Response

The body is the gateway's status envelope: the output is at `response.result`, next to the task id, its status and the credits charged. Asset models return `url` plus an `items` array of results.

```json
{
  "status": "success",
  "response": {
    "id": "task_abc123",
    "status": "COMPLETED",
    "result": {
      "url": "https://cdn.picsart.com/…/result",
      "items": [
        {
          "url": "https://cdn.picsart.com/…/result"
        }
      ],
      "model": "seed-audio-1.5"
    }
  }
}
```

What `ai.generate()` / `ai.generateText()` resolve to (the envelope already unwrapped):

```json
{
  "items": [
    {
      "url": "https://cdn.picsart.com/…/result"
    }
  ],
  "model": "seed-audio-1.5"
}
```

### Usage examples

#### TypeScript (SDK)

```typescript
import { createClient } from '@picsart/ai-sdk';

const ai = createClient({
  apiKey: process.env.PICSART_API_KEY,
  apiUrl: 'https://api.picsart.com',
});

const result = await ai.generate('seed-audio-1.5', {
  prompt: "A serene mountain lake at golden hour, ultra detailed"
});

console.log(result.url); // audio URL
```

#### Python (SDK)

```python
import asyncio
import os

from picsart_ai_sdk import create_client


async def main() -> None:
    async with create_client(
        api_key=os.environ["PICSART_API_KEY"],
        api_url="https://api.picsart.com",
    ) as ai:
        result = await ai.generate("seed-audio-1.5", {
            "prompt": "A serene mountain lake at golden hour, ultra detailed",
        })

        print(result.url)  # audio URL


asyncio.run(main())
```

#### cURL (sync)

```bash
curl -X POST 'https://api.picsart.com/workflows/v1/models/execute' \
  -H 'Authorization: Bearer $PICSART_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "params": {
    "model": "seed-audio-1.5",
    "params": {
      "prompt": "A serene mountain lake at golden hour, ultra detailed"
    }
  }
}'
```

#### cURL (async: submit, then poll)

```bash
# 1. Submit the job
curl -X POST 'https://api.picsart.com/workflows/v1/models/submit' \
  -H 'Authorization: Bearer $PICSART_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "params": {
    "model": "seed-audio-1.5",
    "params": {
      "prompt": "A serene mountain lake at golden hour, ultra detailed"
    }
  }
}'
# → { "status": "success", "response": { "id": "task_abc123" } }

# 2. Poll until response.status is COMPLETED
curl 'https://api.picsart.com/workflows/v1/models/task_abc123/result' \
  -H 'Authorization: Bearer $PICSART_API_KEY'
```

#### CLI

```bash
gen-ai login  # once per machine
gen-ai models info seed-audio-1.5  # this model's parameters
gen-ai pricing seed-audio-1.5  # quote before spending credits
gen-ai generate -m seed-audio-1.5 \
  -p "Welcome to the show. Today we look at how images are made."
```

## Compatibility API (vendor parameters)

Alongside the unified API, the `bytedance/seed-audio/v1.5` workflow takes ByteDance's own parameters exactly as the vendor defines them — nothing renamed or reshaped. It is the shortest path onto Picsart for request bodies already written against the vendor; the trade is that a request is written for one vendor, and the result comes back in the vendor's own shape. Same authentication.

- **Endpoint**: `POST https://api.picsart.com/workflows/bytedance/seed-audio/v1.5/execute` (sync) · `POST …/submit` + `GET …/{taskId}/result` (async)
- **SDK**: `ai.apis.run('bytedance/seed-audio/v1.5', params, { mode })` in TypeScript, `ai.apis.run("bytedance/seed-audio/v1.5", params, mode=…)` in Python — params forwarded verbatim

### Vendor parameters

| Parameter | Type | Required | Default | Details |
| --- | --- | --- | --- | --- |
| `mode` | `string` | no | — | text-to-audio (default): speech, SFX and music from the prompt, optionally in the voice of `reference_audios`. video-dubbing: audio for `video_url` timed to its visuals; the prompt must spell out every line. video-translation: the speech of `video_url` translated into `target_language`, its SFX and music kept; no prompt. stem-separation: `audio_url` split into the tracks the prompt asks for. · Options: `text-to-audio`, `video-dubbing`, `video-translation`, `stem-separation` |
| `prompt` | `string` | no | — | What to hear: the exact lines, speakers, emotion, pace, SFX and music; `[0.0s:1.2s]` timestamps control timing. Required except in video-translation, where it is not allowed. |
| `reference_audios` | `string[]` | no | — | Up to 6 public wav/mp3 URLs (2-30 s each, 180 s in total) whose voices the prompt refers to, in that order. text-to-audio and video-dubbing only. |
| `reference_image` | `string` | no | — | One reference image URL. text-to-audio only. |
| `video_url` | `string` | no | — | Public mp4/mov URL, 4-360 s, 480p-1080p, 12-60 fps. Required in video-dubbing and video-translation. |
| `audio_url` | `string` | no | — | Public wav/mp3 URL to split, 2-360 s. Required in stem-separation. |
| `target_language` | `string` | no | — | Language to translate into. Required in video-translation. · Options: `zh`, `en`, `ja`, `ko`, `de`, `fr`, `pt-BR`, `th`, `id`, `vi`, `ms`, `fil`, `it`, `ru`, `nl`, `pl`, `tr`, `sv`, `es-ES`, `es-MX`, `ar`, `pt-PT`, `fi`, `da`, `no`, `cs`, `hu`, `el`, `ro`, `hi` |
| `source_language` | `string` | no | — | Language spoken in the video. Detected when omitted. video-translation only. · Options: `zh`, `en` |
| `glossaries` | `SeedAudio15GlossaryEntry[]` | no | — | Fixed translations for terms. Not with `subtitle_url`. video-translation only. |
| └ `source` | `string` | yes | — | Term in the source language · e.g. `火山方舟` |
| └ `target` | `string` | yes | — | Its translation · e.g. `ModelArk` |
| `subtitle_url` | `string` | no | — | UTF-8 SRT URL with the lines in `target_language` (segments up to 15 s); skips machine translation. Not with `glossaries`. video-translation only. |
| `dialogue_enhancement` | `string` | no | — | Dialogue enhancement level. Default off. video-translation only. · Options: `off`, `low`, `medium`, `high` |
| `include_video_and_subtitles` | `boolean` | no | — | Also return the translated video and the subtitles (srt and jsonl, translated and source). Default false. video-translation only. |
| `output_format` | `string` | no | — | Output audio format. Default wav. · Options: `wav`, `mp3`, `pcm`, `ogg_opus` |
| `audio_config` | `object` | no | — | Output audio settings. |
| └ `sample_rate` | `number` | no | — | Sample rate in Hz. Default 44100; ogg_opus is always 48000. · Options: `8000`, `16000`, `24000`, `32000`, `44100`, `48000` |
| └ `speech_rate` | `number` | no | — | Speed, -50 (0.5x) to 100 (2x). Default 0. |
| └ `loudness_rate` | `number` | no | — | Volume, -50 (0.5x) to 100 (2x). Default 0. |
| └ `pitch_rate` | `number` | no | — | Pitch in semitones, -12 to 12. Default 0. |
| `options` | `object` | no | — | Options controlling safety checks and drive integration |
| └ `safety_checks` | `object` | no | — | Safety check settings |
| └   `enabled` | `boolean` | no | — | Whether to run content moderation. Defaults to true. |
| └ `drive` | `object` | no | — | Save result to Picsart Drive |
| └   `name` | `string` | yes | — | File name in Picsart Drive |
| └   `attributes` | `object` | no | — | Custom attributes to attach to the file |
| └   `folder` | `object` | no | — | Target folder in Picsart Drive |
| └ `inputs_transformation` | `object` | no | — | Input transformation settings |
| └   `downscale_oversized_images` | `boolean` | no | — | Whether to downscale oversized input images. Defaults to false. |
| └ `service_tier` | `string` | no | `auto` | How the generation is served. "auto" (default) uses the user's discount when one applies, with its limits. "priority" charges the regular price, with no concurrency limit and no wait. · Options: `auto`, `priority` |

### Example request body

```json
{
  "params": {
    "prompt": "A serene mountain lake at golden hour, ultra detailed"
  }
}
```

### Usage examples

#### TypeScript (`ai.apis.run`)

```typescript
import { createClient, ApiRunMode } from '@picsart/ai-sdk';

const ai = createClient({
  apiKey: process.env.PICSART_API_KEY,
  apiUrl: 'https://api.picsart.com',
});

// Calls the 'bytedance/seed-audio/v1.5' workflow directly — params are sent as-is.
const { result, usage } = await ai.apis.run('bytedance/seed-audio/v1.5', {
  prompt: "A serene mountain lake at golden hour, ultra detailed"
}, {
  mode: ApiRunMode.SYNC,
});

console.log(result); // workflow-specific output
console.log(usage?.credits); // amount charged, in $
```

#### Python (`ai.apis.run`)

```python
import asyncio
import os

from picsart_ai_sdk import ApiRunMode, create_client


async def main() -> None:
    async with create_client(
        api_key=os.environ["PICSART_API_KEY"],
        api_url="https://api.picsart.com",
    ) as ai:
        # Calls the 'bytedance/seed-audio/v1.5' workflow directly — params are sent as-is.
        response = await ai.apis.run("bytedance/seed-audio/v1.5", {
            "prompt": "A serene mountain lake at golden hour, ultra detailed",
        }, mode=ApiRunMode.SYNC)

        print(response["result"])  # workflow-specific output
        print((response.get("usage") or {}).get("credits"))  # amount charged, in $


asyncio.run(main())
```

#### cURL (sync)

```bash
curl -X POST 'https://api.picsart.com/workflows/bytedance/seed-audio/v1.5/execute' \
  -H 'Authorization: Bearer $PICSART_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "params": {
    "prompt": "A serene mountain lake at golden hour, ultra detailed"
  }
}'
```

#### cURL (async: submit, then poll)

```bash
# 1. Submit the job
curl -X POST 'https://api.picsart.com/workflows/bytedance/seed-audio/v1.5/submit' \
  -H 'Authorization: Bearer $PICSART_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "params": {
    "prompt": "A serene mountain lake at golden hour, ultra detailed"
  }
}'
# → { "status": "success", "response": { "id": "wf_abc123" } }

# 2. Poll until response.status is COMPLETED
curl 'https://api.picsart.com/workflows/bytedance/seed-audio/v1.5/wf_abc123/result' \
  -H 'Authorization: Bearer $PICSART_API_KEY'
```

### Response

Over HTTP the vendor-shaped result arrives inside the gateway envelope at `response.result`:

```json
{
  "status": "success",
  "response": {
    "result": {
      "items": [
        {
          "url": "https://cdn.picsart.com/…/result.mp3",
          "kind": "…",
          "format": "…",
          "type": "…",
          "description": "…",
          "driveFile": {}
        }
      ]
    }
  }
}
```

`ai.apis.run()` unwraps that envelope and resolves to `{ result, usage }`:

```json
{
  "result": {
    "items": [
      {
        "url": "https://cdn.picsart.com/…/result.mp3",
        "kind": "…",
        "format": "…",
        "type": "…",
        "description": "…",
        "driveFile": {
          "id": "wf_abc123"
        }
      }
    ]
  }
}
```

## Additional resources

- Model page (playground): https://picsart.com/api-platform/models/seed-audio-1.5
- SDK and REST API (unified): https://picsart.com/api-platform/models/seed-audio-1.5#api
- Compatibility API (vendor parameters): https://picsart.com/api-platform/models/seed-audio-1.5#advanced
- MCP (use it from Claude, ChatGPT, Cursor and other assistants): https://picsart.com/api-platform/models/seed-audio-1.5#mcp
- CLI (run it from a terminal): https://picsart.com/api-platform/models/seed-audio-1.5#cli
- Pricing: https://picsart.com/api-platform/models/seed-audio-1.5#pricing
- This document: https://picsart.com/api-platform/models/seed-audio-1.5/llms.txt
- All models: https://picsart.com/api-platform/models
- Docs — quickstart https://picsart.com/api-platform/docs/quickstart, authentication https://picsart.com/api-platform/docs/authentication, SDK https://picsart.com/api-platform/docs/sdk, REST https://picsart.com/api-platform/docs/api-reference, CLI https://picsart.com/api-platform/docs/cli, MCP https://picsart.com/api-platform/docs/mcp
- CLI reference: https://picsart.github.io/picsart-mcp-cli-docs/guide/introduction
