Picsart API Platform
← All models

Seed Audio

Seed Audio · Audio · Text → Speech

Synthesize natural English or Chinese speech — pick a named voice or clone one from a reference audio.

Model ID: seed-audio-1.0Workflow: bytedance/text-to-speech
Voice CloningReference Audio
Try on Playground ↗

Overview

Alongside the unified model APIs, we expose compatibility APIs that take each vendor's original parameters exactly as the vendor defines them — nothing renamed, nothing reshaped on the way through.

That makes them the shortest path onto Picsart if you already work with the vendor directly: the request bodies you've already written keep working as they are. You keep their parameter names and defaults, and you get the vendor's full parameter set rather than the subset that is shared across every model.

The cost is that a request is written for one vendor — switching models later means rewriting it, and results come back in the vendor's own shape. When you'd rather write once and change models freely, use the unified API.

Make a request

Call the workflow with ai.apis.run() in TypeScript, or hit /workflows/{workflow}/execute directly — params is passed through untouched either way.

These endpoints are addressed by workflow name rather than model id: the one in this model's header, since one model runs as one workflow. Authentication is unchanged — your Picsart API key as a bearer token (see Authentication).

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

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

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

console.log(result); // workflow-specific output
console.log(usage?.credits); // credits charged

Async (submit & poll)

This model can run longer than the sync limit (~20s). In TypeScript, ai.apis.run(…, { mode: ApiRunMode.ASYNC }) polls for you; over HTTP, submit and poll yourself.

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

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

// mode: ASYNC submits the job and polls under the hood — you just await.
const { result } = await ai.apis.run('bytedance/text-to-speech', {
  text_prompt: "A serene mountain lake at golden hour, ultra detailed"
}, {
  mode: ApiRunMode.ASYNC,
});

console.log(result);

Parameters

6 parameters, sent inside params. These are the vendor's own names, so they line up one-for-one with the vendor's documentation. Required ones must be supplied; the rest fall back to their defaults.

ParameterTypeRequiredDefaultDetails
model
Model version identifier. Both variants share the same request shape, limits, voice-cloning support and audio knobs — they differ only in language coverage and timing control, and each is billed under its own pricing entry. - `seed-audio-1.0` (default) — English, Chinese only. - `seed-audio-1.0-multilingual` — 20 languages: English, Chinese, Japanese, Korean, Mexican Spanish, Castilian Spanish, Indonesian, German, Brazilian Portuguese, French, Thai, Vietnamese, Malay, Filipino, Italian, Russian, Dutch, Polish, Turkish, Swedish. Also advertised as supporting timing control (pacing the speech to fit a given time window); the vendor API reference documents no request parameter for it, so it is expressed through `text_prompt` — see the BytePlus docs for the prompt syntax. Pick `seed-audio-1.0-multilingual` for any language other than English/Chinese.
stringnoseed-audio-1.0
seed-audio-1.0seed-audio-1.0-multilingual
text_prompt
Prompt used to synthesize audio, or the text to be synthesized. Up to 3000 characters. Reference audio is addressed as @Audio1, @Audio2, ... matching the order of audio references. When an image reference is used, text_prompt may contain only the text to be synthesized.
stringyes
references
Reference resources. Omit for text-only generation. Up to 3 audio references (speaker/audio_data/audio_url) OR exactly 1 image reference (image_data/image_url); audio and image references cannot be mixed.
ReferenceResource[]no
speaker
Speaker ID — a predefined BytePlus TTS 2.0 voice or a cloned voice id. Provide exactly one of speaker, audio_data, or audio_url. Any valid BytePlus voice id is accepted (the list below is a sample, not a whitelist). The `en_*` / `zh_*` voices work with both models; the other languages require `seed-audio-1.0-multilingual`. Speaking a voice's own language gives the best result. Examples: - `en_male_tim_uranus_bigtts` — Tim — English, clear friendly mid-range male - `en_female_dacey_uranus_bigtts` — Dacey — English, warm engaging female - `en_female_stokie_uranus_bigtts` — Stokie — English, casual expressive young female - `zh_male_liufei_uranus_bigtts` — Felix — Chinese, clear energetic male - `zh_female_qingxinnvsheng_uranus_bigtts` — Celeste — Chinese, fresh clear female - `ja_female_minimi_uranus_bigtts` — Minimi — Japanese, sweet young female (multilingual only) - `ko_male_m03_uranus_bigtts` — Minho — Korean, professional narrator (multilingual only) - `de_male_seven_uranus_bigtts` — Sven — German, steady confident male (multilingual only) - `fr_male_usseau_uranus_bigtts` — Usseau — French, crisp articulate male (multilingual only) - `es_male_felipe_uranus_bigtts` — Felipe — Mexican Spanish, upbeat young male (multilingual only) - `it_male_enzo_uranus_bigtts` — Enzo — Italian, warm charismatic male (multilingual only) - `pt_male_martins_uranus_bigtts` — Martins — Brazilian Portuguese, expressive male (multilingual only) - `ru_male_pavel_uranus_bigtts` — Pavel — Russian, natural narrative male (multilingual only) - `ru_female_af07_uranus_bigtts` — Amelia — Russian, gentle graceful female (multilingual only) - `id_male_han_uranus_bigtts` — Han — Indonesian, smooth friendly male (multilingual only) - `ms_male_naim_uranus_bigtts` — Naim — Malay, calm refined male (multilingual only) - `tl_female_annika_uranus_bigtts` — Annika — Filipino female (multilingual only) - `th_female_bv568_neutral_uranus_bigtts` — Mildred — Thai, calm neutral female (multilingual only) - `vi_female_linh_uranus_bigtts` — Linh — Vietnamese, crisp decisive female (multilingual only)
stringno
e.g. en_male_tim_uranus_bigtts
audio_data
Base64-encoded reference audio (<=30s, <=10MB; wav/mp3/pcm/ogg_opus).
stringno
audio_url
Reference audio URL (<=30s, <=10MB; wav/mp3/pcm/ogg_opus).
stringno
image_data
Base64-encoded reference image (<=10MB; jpeg/png/webp). Cannot be combined with audio references.
stringno
image_url
Reference image URL (<=10MB; jpeg/png/webp). Cannot be combined with audio references.
stringno
audio_config
Output audio configuration.
objectno
format
Output format. Default wav.
stringno
wavmp3pcmogg_opus
sample_rate
Output sample rate (Hz). Default: wav/pcm 40000, mp3 44100.
numberno
80001600024000320004410048000
speech_rate
Speech rate. Range [-50, 100]: 100 = 2.0x, -50 = 0.5x. Default 0.
numberno
loudness_rate
Volume. Range [-50, 100]: 100 = 2.0x, -50 = 0.5x. Default 0.
numberno
pitch_rate
Pitch. Range [-12, 12]. Default 0.
numberno
watermark
Watermark configuration.
objectno
aigc_watermark
Explicit watermark: adds an audio rhythm marker at the end. Default false.
booleanno
aigc_metadata
Implicit watermark metadata added to the audio header.
objectno
enable
Enable the implicit watermark. Default false.
booleanno
content_producer
stringno
produce_id
stringno
content_propagator
stringno
propagate_id
stringno
options
Options controlling safety checks and drive integration
objectno
safety_checks
Safety check settings
objectno
enabled
Whether to run content moderation. Defaults to true.
booleanno
drive
Save result to Picsart Drive
objectno
name
File name in Picsart Drive
stringyes
attributes
Custom attributes to attach to the file
objectno
folder
Target folder in Picsart Drive
objectno

Response

Over HTTP the output arrives inside a status envelope, at response.result. ai.apis.run() unwraps that envelope for you and resolves to { result, usage } instead. Either way the resultitself is the vendor's own shape.

json
{
  "result": {
    "url": "https://cdn.picsart.com/…/result.mp3",
    "duration": 0,
    "format": "…",
    "driveFile": {}
  },
  "usage": {
    "credits": 5
  }
}