Developer Platform · REST API

Build media workflows with a single API

Integrate narration, dubbing, image enhancement and media automation into your products with developer-friendly APIs.

Request

POST /v1/tts

{
  "text": "Welcome to Scriptriz",
  "voice": "alloy",
  "language": "en"
}

Response

200 OK
{
  "audio_url": "generated-audio.mp3",
  "duration": 3.2
}

Available APIs

Everything you need to ship media features

Modular endpoints for speech, video, images and automation — all accessible through one consistent REST interface.

  • Stable

    Text to Speech

    Convert text into natural-sounding voices.

  • Stable

    Video Dubbing

    Translate and dub videos into multiple languages.

  • Stable

    Background Removal

    Remove image backgrounds with a single API request.

  • Stable

    Image Enhancement

    Upscale and sharpen images while preserving details.

  • Beta

    Story Creator

    Generate scripts, ideas and narration workflows.

  • Beta

    Automation Tools

    Combine media APIs into custom workflows.

Developer Experience

Why developers choose Scriptriz

Production-ready infrastructure with the clarity and speed your team expects from a modern media API.

  • Fast Processing

    Most requests complete within seconds.

  • Simple Authentication

    Secure API key authentication.

  • JSON Responses

    Clean structured outputs.

  • Scalable Infrastructure

    Designed for production workloads.

Live Playground

Try the Text to Speech API

Preview request parameters and see how responses look before you integrate.

Output Preview

Generated Audio

Waiting for generation...

Duration
Status
Ready

Integration

Code examples

Copy a snippet in your preferred language and start sending requests in minutes.

const response = await fetch("https://api.scriptriz.app/v1/tts", {
  method: "POST",
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    text: "Welcome to Scriptriz",
    voice: "alloy",
    language: "en",
  }),
});

const data = await response.json();
console.log(data.audio_url);

Dashboard Preview

Monitor usage from one place

Track requests, credits and success rates with a dashboard built for production teams.

API Overview

Last 7 days · Production workspace

All systems operational
  • +18%

    API Requests

    12,480

  • +6%

    Credits Used

    3,920

  • +0.2%

    Success Rate

    99.4%

  • Live

    Last Activity

    2 min ago

Request volume

Daily API calls

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Endpoint mix

  • Text to Speech38%
  • Image Enhancement24%
  • Background Removal18%
  • Video Dubbing20%

Ready to build with Scriptriz APIs?

Start integrating media intelligence into your applications today.