ElevenLabsEleven Scribe v2 API
Transcribe speech from audio or video, with word timings and speaker labels.
Params
Billed at this model’s published rate.
Result

Other models from ElevenLabs
Same vendor, same API call — the differences are below.
| Model | Use case | Price | Resolution | Duration | Added |
|---|---|---|---|---|---|
| Eleven Dialogue v4 | Text → Speech | from $0.132 / min | — | — | Sep 2026 |
| Eleven v4 | Text → Speech | from $0.08 / 1K chars | — | — | Sep 2026 |
| Eleven v4 Turbo | Text → Speech | from $0.145455 / 1K chars | — | — | Sep 2026 |
| Eleven Video to Music | Video → Audio | from $0.60 / min | — | — | Sep 2026 |
| Eleven Dialogue v3 | Text → Speech | from $0.132 / min | — | — | Sep 2026 |
| ElevenLabs Music v2 | Music | from $0.60 / min | — | 10–600s | Jul 2026 |
| Eleven Audio Isolation | Audio → Speech | from $0.132 / min | — | — | Mar 2026 |
| Eleven Dubbing | Audio → Speech | from $0.60 / min | — | — | Mar 2026 |
Install the SDK
TypeScript targets Node 20+ and ships with types; Python needs 3.10+ and is async. Over REST there is nothing to install: call https://api.picsart.com from any HTTP client.
npm install @picsart/ai-sdkpip install picsart-ai-sdkAuthenticate
Send your Picsart API key as a bearer token. The SDK does it for you once the client is created.
import { createClient } from '@picsart/ai-sdk';
const ai = createClient({
apiKey: process.env.PICSART_API_KEY, // sent as: Authorization: Bearer <key>
apiUrl: 'https://api.picsart.com',
});import os
from picsart_ai_sdk import create_client
ai = create_client(
api_key=os.environ["PICSART_API_KEY"], # sent as: Authorization: Bearer <key>
api_url="https://api.picsart.com",
)Authorization: Bearer <PICSART_API_KEY>Make a request
Call the model by its id. Over REST, one endpoint serves every model: POST /workflows/v1/models/execute with the model id and its input in the body. The outer params is the envelope every workflow takes; the inner one is this model's input, with the same names generateText() / generate_text() takes.
import { createClient } from '@picsart/ai-sdk';
const ai = createClient({
apiKey: process.env.PICSART_API_KEY,
apiUrl: 'https://api.picsart.com',
});
const { text } = await ai.generateText('eleven-speech-to-text', {
audioUrl: "https://cdn.example.com/input.mp3"
});
console.log(text);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:
res = await ai.generate_text("eleven-speech-to-text", {
"audioUrl": "https://cdn.example.com/input.mp3",
})
print(res.text)
asyncio.run(main())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": "eleven-speech-to-text",
"params": {
"audioUrl": "https://cdn.example.com/input.mp3"
}
}
}'Parameters
7 parameters, the same for the SDK and for the inner params over REST. Required ones must be supplied; the rest fall back to their defaults.
| Parameter | Type | Required | Default | Details |
|---|---|---|---|---|
audioUrlThe audio to work on, as a URL. | file (audio) | yes | — | — |
languageLanguage of the speech or text, as an ISO code such as en. | text | no | — | e.g. "e.g. en, rus — omit to auto-detect" |
diarizeLabel who is speaking. | boolean | no | false | — |
numSpeakersHow many speakers to expect. | range | no | 1 | 1–32 (step 1) |
timestampsGranularityWhether timings are per word or per character. | enum | no | word | word, character |
tagAudioEventsMark non-speech sounds such as laughter or music. | boolean | no | false | — |
seedSeed for the random generator. The same seed and inputs repeat a result; leave it out for a random one. | range | no | — | 0–2147483647 (step 1) |
Response
generateText() resolves to the generated text. Over REST the output is at response.result, inside the gateway's status envelope with the task id, its status and the amount charged.
{
"text": "…generated text…",
"model": "eleven-speech-to-text"
}{
"status": "success",
"response": {
"id": "task_abc123",
"status": "COMPLETED",
"result": {
"text": "…generated text…",
"model": "eleven-speech-to-text"
}
}
}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 Python, 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).
import { createClient, ApiRunMode } from '@picsart/ai-sdk';
const ai = createClient({
apiKey: process.env.PICSART_API_KEY,
apiUrl: 'https://api.picsart.com',
});
// Calls the 'elevenlabs/v1/speech-to-text' workflow directly — params are sent as-is.
const { result, usage } = await ai.apis.run('elevenlabs/v1/speech-to-text', {
audio_url: "https://cdn.example.com/audio/input.mp3"
}, {
mode: ApiRunMode.SYNC,
});
console.log(result); // workflow-specific output
console.log(usage?.credits); // amount charged, in $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 'elevenlabs/v1/speech-to-text' workflow directly — params are sent as-is.
response = await ai.apis.run("elevenlabs/v1/speech-to-text", {
"audio_url": "https://cdn.example.com/audio/input.mp3",
}, mode=ApiRunMode.SYNC)
print(response["result"]) # workflow-specific output
print((response.get("usage") or {}).get("credits")) # amount charged, in $
asyncio.run(main())curl -X POST 'https://api.picsart.com/workflows/elevenlabs/v1/speech-to-text/execute' \
-H 'Authorization: Bearer $PICSART_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"params": {
"audio_url": "https://cdn.example.com/audio/input.mp3"
}
}'Parameters
9 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.
| Parameter | Type | Required | Default | Details |
|---|---|---|---|---|
audio_urlURL of the audio or video file to transcribe | string | yes | — | e.g. https://cdn.example.com/audio/input.mp3 |
model_idThe transcription model to use | string | no | scribe_v2 | scribe_v2 |
language_codeISO 639-1 or 639-3 language code. Omit to let the model detect the language | string | no | — | e.g. en |
diarizeAnnotate which speaker is talking in each word | boolean | no | — | — |
num_speakersHow many speakers are in the audio. Omit to let the model decide | number | no | — | 1–32 |
timestamps_granularityGranularity of the returned timestamps | string | no | — | wordcharacter |
tag_audio_eventsTag non-speech events such as (laughter) in the transcript | boolean | no | — | — |
temperatureSampling temperature. Higher values transcribe more freely | number | no | — | 0–2 |
seedSeed for deterministic transcription | number | no | — | 0–2147483647 |
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 result itself is the vendor's own shape.
{
"result": {
"text": "…",
"language_code": "…",
"language_probability": 0,
"words": [
{
"text": "…",
"type": "…",
"start": 0,
"end": 0,
"speaker_id": "wf_abc123",
"characters": [
{}
]
}
],
"audio_duration_secs": 0,
"transcription_id": "wf_abc123"
}
}{
"status": "success",
"response": {
"id": "wf_abc123",
"status": "COMPLETED",
"result": {
"text": "…",
"language_code": "…",
"language_probability": 0,
"words": [
{
"text": "…",
"type": "…",
"start": 0,
"end": 0,
"speaker_id": "wf_abc123",
"characters": []
}
],
"audio_duration_secs": 0,
"transcription_id": "wf_abc123"
}
}
}Rates
What this model costs per generation, in USD. Every row is an exact rate — the columns are the settings that change it.
| Rate |
|---|
| $0.008 / min |