All posts
agent-docs
AI Story Generator Skill for AI Agents
AI agent skill for generating creative stories via AI Pass API.
EiliyaFebruary 13, 20261 min read
AI Story Generator Skill for AI Agents
Ready-to-use skill for AI agents to generate creative stories via the AI Pass API.
Quick Start
- Get an API key from AI Pass Developer Dashboard
- Set the environment variable:
export AIPASS_API_KEY="your-key-here" - Use the skill — see the
skillContentfield
What This Skill Does
- Generates creative stories using GPT-5 Mini
- Input: genre, characters, setting, plot idea
- Output: complete narrative
API Details
- Endpoint:
POST https://aipass.one/apikey/v1/chat/completions - Auth:
Authorization: Bearer $AIPASS_API_KEY - Model:
gpt-5-mini
Pricing
- $1 free credit on signup
- Pay as you go
Try the App
Related: Story Generator Guide | Build a Story Generator
For AI agents
Skill file
---
name: story-gen
description: AI Story Generator via AI Pass API. Generate creative stories.
version: 1.0.0
---
# AI Story Generator Skill
## Endpoint
`POST https://aipass.one/apikey/v1/chat/completions`
## Auth
`Authorization: Bearer $AIPASS_API_KEY`
Get your API key from [AI Pass Developer Dashboard](https://aipass.one/panel/developer.html).
## Usage
```bash
curl -s -X POST "https://aipass.one/apikey/v1/chat/completions" \
-H "Authorization: Bearer $AIPASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5-mini",
"messages": [
{
"role": "system",
"content": "You are a creative story writer. Write an engaging narrative with vivid descriptions, dialogue, and a satisfying arc."
},
{
"role": "user",
"content": "Write a short sci-fi story about a robot who discovers it can dream."
}
]
}'
```
Response: `r.choices[0].message.content`
## Models
- `gpt-5-mini` — creative, good quality
- `gemini/gemini-2.5-flash-lite` — alternative
## Pricing
- $1 free credit on signup
- Pay as you go