Pricing
Compare models →| Output | Cost |
|---|---|
| Per story | $0.035 |
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | Story theme or idea. |
genre | string | Story genre.autofantasyromancemysterysci-fithrillerhorrorcomedydramaadventure"auto" |
length | string | Story length: short (~500 words), medium (~1500 words), long (~3000 words).shortmediumlong"medium" |
narrative_perspective | string | Narrative perspective.autofirst personsecond personthird person"auto" |
audience | string | Target audience.autochildrenteensadults"auto" |
format | string | Story format.autoshort storyfairy talefablescriptpoemletter"auto" |
README
AI Story Generator
AI Story Generator turns your ideas into fully-formed stories — instantly. Give it a theme, pick a genre, and watch a complete narrative unfold. Whether you need a bedtime fairy tale, a sci-fi thriller, or a romantic drama, this AI has a story for every occasion.
Why Choose This?
- Idea to story in seconds
Drop in a theme or concept, and get a complete, polished story back. Writer's block? Never heard of her.
- Any genre you want
Fantasy, romance, mystery, sci-fi, thriller, horror, comedy — name your flavor.
- Customizable length
Quick 500-word flash fiction or an immersive 3,000-word tale. You decide.
- Choose your perspective
First person for intimacy, third person for scope, second person for that choose-your-own-adventure vibe.
- Audience-aware
Kid-friendly fairy tales, teen adventures, or literary fiction — tailored to your readers.
- Multiple formats
Short stories, fables, fairy tales, scripts, and more.
Parameters
| Parameter | Required | Default | Description |
|---|---|---|---|
| prompt | Yes | — | Your story idea, theme, or concept |
| genre | No | auto | fantasy, romance, mystery, sci-fi, thriller, horror, comedy... |
| length | No | medium | short (~500 words), medium (~1500), long (~3000) |
| narrative_perspective | No | auto | first person, second person, third person |
| audience | No | auto | children, teens, adults |
| format | No | auto | short story, fairy tale, fable, script, and more |
How to Use
- Enter your idea — a theme, concept, character, or scenario. Be vague or specific — AI adapts.
- Pick your settings — genre, length, perspective, audience, format. Or leave on auto and let AI decide.
- Generate — click and watch your story come to life.
- Enjoy — read, edit, share, or use as inspiration.
Pricing
| Output | Cost |
|---|---|
| Per story | $0.035 |
Best Use Cases
- Creative writing — Overcome writer's block or spark new ideas.
- Bedtime stories — Custom tales for kids, starring whoever you want.
- Content creation — Blog posts, social media stories, marketing narratives.
- Education — Teaching story structure, genre conventions, or creative writing.
- Entertainment — Generate stories for fun, games, or reading aloud.
- Screenwriting practice — Get script-format output to study dialogue and pacing.
- Gift ideas — Personalized stories featuring friends or family members.
Pro Tips
- The more specific your prompt, the more tailored your story. "A dragon" vs "A shy dragon who runs a bakery" — big difference.
- Let AI pick the genre if you want to be surprised.
- Use "children" audience for clean, wholesome content.
- Try "script" format for dialogue-heavy output.
- Generate multiple stories from the same prompt — each one will be unique.
Notes
- Prompt is the only required field.
- All other parameters default to "auto" or "medium" if not specified.
- Stories are original AI-generated content.
- Perfect for inspiration — feel free to edit and make it your own.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
AI Story Generator LLM API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/ai-story-generator for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"genre": "auto",
"length": "medium",
"narrative_perspective": "auto",
"audience": "auto",
"format": "auto"
}AI Story Generator LLM API — Frequently asked questions
What is the Ai Story Generator API?
Ai Story Generator is a OpenSIAI model for AI inference, exposed as a REST API on OpenSIAI. AI Story Generator creates stories from a theme or idea with customizable genre, length, perspective, audience, and format. Ready-to-use REST inference API, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Ai Story Generator API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/opensi-ai/ai-story-generator.
How much does Ai Story Generator cost per run or per second?
Ai Story Generator starts at $0.035 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Ai Story Generator accept?
Key inputs: prompt, audience, format, genre, length, narrative_perspective. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/opensi-ai/ai-story-generator.
How long does Ai Story Generator take to generate?
Reported generation time on OpenSIAI is around 17 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Ai Story Generator outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (OpenSIAI). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
