API ManyNew models: Qwen 3.8 Max, Claude Haiku 5.5, Claude Opus 5.5, Claude Sonnet 5.5

OpenWeights · Text & reasoning · LLM

AI Story Generator API

Call AI Story Generator with the same key and request shape as every other model in the catalog — from $0.047 per job.

AI Story Generator example

WHY IT FITS

Inside the gateway

AI Story Generator creates stories from a theme or idea with customizable genre, length, perspective, audience, and format. Route it through one API Many key: post the model id and your parameters, poll the returned job, and download the finished asset. Inputs are checked before dispatch and the quote is reserved up front from $0.047.

One credential

AI Story Generator shares the same key, wallet and limits as the rest of the catalog.

Uniform contract

The request body, polling loop and result download are identical for every model.

Checked inputs

Declared fields are type- and range-checked before the job leaves the gateway.

llm

LLM is exposed for AI Story Generator without a bespoke client.

ai story generator

AI Story Generator is exposed for AI Story Generator without a bespoke client.

text & reasoning

Text & reasoning is exposed for AI Story Generator without a bespoke client.

OUTPUT

Sample outputs

INTEGRATION

Wire it in four steps

  1. Create a key

    Open the dashboard, mint a server-side API key and top up a small balance.

  2. Discover

    Call GET /v1/models to confirm open/ai-story-generator, its live specification and the exact per-job rate.

  3. Submit

    POST /v1/jobs with the model id, your parameters and a fresh Idempotency-Key.

  4. Collect

    Poll GET /v1/jobs/{id} until it settles, then download GET /v1/jobs/{id}/content.

CALLING

Make your first call

# API Many quickstart — one key covers every model
curl https://apimany.com/v1/jobs \
  -H "Authorization: Bearer $APIMANY_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $REQUEST_ID" \
  -d '{"model":"open/ai-story-generator","audience":"auto","format":"auto","genre":"auto","length":"medium","narrative_perspective":"auto","prompt":"AI Story Generator request."}'

Accepted parameters

FieldKindAcceptedNeeded
audiencestringauto · children · teens · adultsoptional
formatstringauto · short story · fairy tale · fable · script · poem · letteroptional
genrestringauto · fantasy · romance · mystery · sci-fi · thriller · horror · comedy · drama · adventureoptional
lengthstringshort · medium · longoptional
narrative_perspectivestringauto · first person · second person · third personoptional
promptstring—optional

ONLINE TEST

Send a real job from this page

The request runs against this site's own /v1/jobs using your signed-in balance, or an API key if you are not signed in. A pasted key stays in this browser tab and is never stored; the result is charged at the quoted USD price.

Or sign in to run with your account balance.

GOOD TO KNOW

Integration questions

Can I reach AI Story Generator with my existing API Many key?
AI Story Generator is one route in the shared gateway, so the same key, balance and limits apply. Enable it per route, then confirm the live id and rate with an authenticated GET /v1/models call.
What request shape does AI Story Generator expect?
Send JSON to POST /v1/jobs with the model id and your parameters, plus a unique Idempotency-Key header. The gateway validates the body, reserves the quoted USD amount and returns a job you poll.
How is AI Story Generator billed?
Each job is quoted for your exact parameters before it runs, from $0.047. A confirmed rejection releases the reservation; a settled job is charged at its quote.
Which fields does AI Story Generator accept?
Recognised fields are audience, format, genre, length, narrative_perspective, prompt. Anything else is refused with a 400 instead of being forwarded upstream.
Is AI Story Generator live right now?
Availability is set per route. Read the authenticated model list to see whether open/ai-story-generator is enabled, with its exact specification and rate.

KEEP EXPLORING

Nearby models