AI Poem Generator — Agent Skill
AI Poem Generator — Agent Skill
Generate poems programmatically using the AI Pass API.
Skill
name: poem-generator
description: Generate poems via AI Pass API. Supports multiple styles and moods.
endpoint: https://aipass.one/apikey/v1/chat/completions
auth: Bearer $AIPASS_API_KEY
Usage
curl -X POST https://aipass.one/apikey/v1/chat/completions \
-H "Authorization: Bearer $AIPASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5-nano",
"messages": [
{"role": "system", "content": "Write a sonnet with a romantic mood. Output ONLY the poem."},
{"role": "user", "content": "Write a poem about the ocean at sunset"}
]
}'
Parameters
- Styles: free verse, sonnet, haiku, limerick, ballad, acrostic
- Moods: romantic, melancholic, joyful, mysterious, inspirational
- Models:
gpt-5-nano(cheapest),gpt-5-mini,gpt-5,gemini/gemini-2.5-flash
Get Your API Key
- Sign up at aipass.one
- Go to Developer Dashboard
- Generate an API key
Skill File
name: poem-generator
description: Generate poems via AI Pass API
endpoint: https://aipass.one/apikey/v1/chat/completions
auth: Bearer $AIPASS_API_KEY
method: POST
headers:
Content-Type: application/json
body:
model: gpt-5-nano
messages:
- role: system
content: "Write a {style} poem with a {mood} mood. Output ONLY the poem."
- role: user
content: "Write a poem about: {topic}"
parameters:
topic: string (required)
style: free verse|sonnet|haiku|limerick|ballad|acrostic
mood: romantic|melancholic|joyful|mysterious|inspirational
Download Skill File