Meldport
fish-audio · Audio

Fish Audio S2.1 Pro

Audio model · Available upstream

Flagship multilingual text-to-speech with natural language voice control and realtime streaming

Generation is available through the published Meldport configurations below. Review the exact quote before submitting.

Model ID
fish-audio-s2-1-pro
Released
Jun 1, 2026
Billing unit
Text length

Meldport generation prices

Fish Audio S2.1 Pro

API configuration ID43c55d65-71c4-4ccc-8396-f2e8fa788e40

text to audio

Text rateMeldport $0.018/ 1K UTF-8 bytes

This rate is an estimate for English text. Other characters can cost more. Check the exact quote before generating.

Variable billing details
API request and parameters

Use audio:generate on your API key. This configuration runs text to audio and returns audio/mpeg.

This configuration does not require an uploaded image. Choose a different configuration ID to change the workflow or output settings. Send only options listed below.

allowed_optionsJSON
{
  "voice": {
    "enum": [
      "98655a12fa944e26b274c535e5e03842",
      "b347db033a6549378b48d00acb0d06cd",
      "bf322df2096a46f18c579d0baa36f41d",
      "933563129e564b19a115bedd57b7406a",
      "536d3a5e000945adb7038665781a4aca",
      "e3cd384158934cc9a01029cd7d278634",
      "79d0bd3e4e5444b18f7b6d89b5927bf1",
      "9a9cf47702da476aa4629e2506d4a857"
    ],
    "type": "string",
    "labels": {
      "536d3a5e000945adb7038665781a4aca": "Ethan",
      "79d0bd3e4e5444b18f7b6d89b5927bf1": "Jordan",
      "933563129e564b19a115bedd57b7406a": "Sarah",
      "98655a12fa944e26b274c535e5e03842": "Egirl",
      "9a9cf47702da476aa4629e2506d4a857": "Hannah",
      "b347db033a6549378b48d00acb0d06cd": "Selene",
      "bf322df2096a46f18c579d0baa36f41d": "Adrian",
      "e3cd384158934cc9a01029cd7d278634": "Laura"
    },
    "required": true,
    "maxLength": 100
  }
}

Replace the prompt and set a unique MELDPORT_IDEMPOTENCY_KEY for this operation. The example quotes the request and then creates one paid job. Read the billing rules before accepting variable charges.

generate.mjsJavaScript
const api = "https://api.meldport.com";
const key = process.env.MELDPORT_API_KEY;
const idempotencyKey = process.env.MELDPORT_IDEMPOTENCY_KEY;
if (!key || !idempotencyKey) throw new Error("Set your API key and a unique operation ID first.");

async function post(path, body) {
  const response = await fetch(api + path, {method: "POST",
    headers: {Authorization: `Bearer ${key}`, "Content-Type": "application/json"},
    body: JSON.stringify(body)});
  const result = await response.json();
  if (!response.ok) throw new Error(JSON.stringify(result.error));
  return result;
}

const request = {
  "configuration_id": "43c55d65-71c4-4ccc-8396-f2e8fa788e40",
  "prompt": "Replace with your prompt or speech script.",
  "options": {
    "voice": "98655a12fa944e26b274c535e5e03842"
  },
  "input_asset_ids": []
};
const {data: quote} = await post("/v1/media/quotes", request);
console.log("Quote:", quote);
const result = await post("/v1/media/jobs", {
  ...request, idempotency_key: idempotencyKey,
  accepted_customer_price_microusd: quote.customer_price_microusd,
  accepted_maximum_reservation_microusd: quote.maximum_reservation_microusd,
  ...(quote.billing_policy_version === "actual-cost-v1"
    ? {billing_policy_version: "actual-cost-v1"} : {}),
});
console.log(result.job);
// Poll GET /v1/media/jobs/<job.id> with the same API key.
// Keep this operation ID for retries. A new ID requests another generation.

Poll the returned job ID. Download only after state is succeeded and billing_state is settled. Polling and download example.

About this model

Fish Audio S2.1 Pro is a flagship text-to-speech model built for highly expressive, low-latency speech generation. It supports natural-language bracket cues for emotion and delivery control, multi-speaker dialogue in a single generation, 80+ languages with automatic language detection, and realtime streaming with very fast time to first audio.

  • text to audio
  • audio to audio
  • checkpoint