We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
Sesame: CSM 1B
sesame/csm-1bTry Sesame: CSM 1B now
Runs on your balance at the prices above. New accounts start with free usage.
Results will appear here.
Settings
Sesame: CSM 1B at a glance
- Input price is 56% lower than the median of 34 Speech models.
About Sesame: CSM 1B
Sesame: CSM 1B is a conversational speech model from Sesame. It sits in the speech category and is identified on api14 by the model id sesame/csm-1b. The provider describes it as a 1B parameter model, which makes it a relatively small option for generating spoken audio from written text.
The model takes text as its only input and produces speech as its only output, specifically English speech. It has a context length of 4096 tokens and a maximum output of 3686 tokens. Voice selection is part of what the model offers: the available voices are conversational_a, conversational_b, read_speech_a, read_speech_b, read_speech_c, read_speech_d, and none. The split between conversational and read speech styles means you can aim for a back and forth tone or a more formal narration tone depending on the voice you pick.
Those capabilities point to a fairly clear set of uses. Because the input is text and the output is audio, CSM 1B fits work where you already have a script or a block of copy and need it spoken aloud. The conversational voices suit dialogue style content, assistants that talk back, or interactive experiences where a natural speaking tone matters. The read speech voices suit narration, reading articles or documents aloud, and any case where a steady, presentational delivery is wanted. The none option is available when you do not want to pin the output to a named voice. Since the model is small at 1B parameters, it is a reasonable candidate when you want speech generation without a large model behind it.
You call it through api14's OpenAI-compatible API using the model id sesame/csm-1b. Because the API follows the OpenAI format, you send a request in the usual way and set the model field to that id, with your text as the input. The model's supported parameters list is empty, so there are no extra tuning parameters to pass beyond what the request format itself requires. Voice choice is exposed through the voices listed above, so if you need a specific delivery style, select the matching voice rather than relying on sampling settings.
There are limits worth knowing before you commit. The context window is 4096 tokens and the maximum output is 3686 tokens, so very long scripts will need to be split across requests. Output is English speech only, and input is text only, so the model does not handle audio input or non English output. If your task needs a different output modality, a longer context, or tunable generation parameters, another model on api14 may fit better.
How to call the Sesame: CSM 1B API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "sesame/csm-1b".
import { writeFile } from "node:fs/promises";
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const audio = await client.audio.speech.create({
"model": "sesame/csm-1b",
"input": "Hello from api14! One API for every model.",
"voice": "alloy",
"response_format": "mp3"
});
await writeFile("speech.mp3", Buffer.from(await audio.arrayBuffer()));
Specifications
- Context length
- 4,096
- Max output
- 3,686
- Input
- text
- Output
- speech
- Voices
- 7
Requests on api14 · last 7 days
Sesame: CSM 1B: frequently asked questions
- How much does the Sesame: CSM 1B API cost?
- Sesame: CSM 1B costs Characters $24.50 / 1M characters. It is charged from your USD balance only for successful requests; failed requests are free.
- What is the context window of Sesame: CSM 1B?
- Sesame: CSM 1B reads up to 4,096 tokens per request: prompt, history and documents together. It writes up to 3,686 output tokens per response.
- What can Sesame: CSM 1B do?
- Sesame: CSM 1B accepts text and returns speech.
- How do I call Sesame: CSM 1B from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "sesame/csm-1b". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to Sesame: CSM 1B?
- Comparable Speech models at a similar price: Canopy Labs: Orpheus 3B, HeyGen: HeyGen Voice Turbo, Fish Audio: Drama 3. Each runs through the same API key, so switching is one string.
Sesame: CSM 1B community
New topicThis community has no topics yet. Open the first one about Sesame: CSM 1B.