← 返回
未分类 Key 中文

genstory story generator

Use when the user wants to generate a story through Genstory with an API key, submit a Genstory story task, poll task status, and return the final Genstory o...
在用户希望通过 Genstory 生成故事、使用 API 密钥提交 Genstory 故事任务、轮询任务状态并返回最终 Genstory 结果时使用。
muryanice
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 356
下载
💾 0
安装
1
版本
#latest

概述

Genstory Story Generator

Use this skill when a workflow needs to call Genstory to generate a story and return a hosted story page URL.

Before you start

  • Tell the user to create an API key in the Genstory user center at https://www.genstory.app/api-keys.
  • Store that key as GENSTORY_API_KEY.
  • The intended final result is the online story URL and cover image.

Required flow

  1. Read GENSTORY_API_KEY from the environment or skill config.
  2. Submit a task to POST https://www.genstory.app/api/v1/story-tasks.
  3. Poll GET https://www.genstory.app/api/v1/story-tasks/{task_id} until the task becomes success or failed.
  4. Return the final structured result with:
    • story.id
    • story.title
    • story.url
    • story.cover_url
    • story.locale

Submit request

Send Authorization: Bearer ${GENSTORY_API_KEY}.

Minimum JSON body:

{
  "prompt": "Write a warm bedtime story about a brave little fox."
}

Recommended fields:

  • prompt
  • title
  • character_name
  • scenes_count
  • generation_type: default text
  • generation_mode: default standard
  • layout_mode
  • page_spec
  • public_visibility

Polling behavior

  • Treat pending and processing as in progress.
  • If status is failed, surface the API error clearly.
  • If status is success, return the hosted story data and encourage the user to open the Genstory URL.

Output contract

Prefer this final shape:

{
  "task_id": "task_uuid",
  "status": "success",
  "story": {
    "id": "story_uuid",
    "title": "Story title",
    "url": "https://www.genstory.app/stories/story-slug",
    "cover_url": "https://cdn.example.com/story-cover.webp",
    "locale": "en"
  }
}

References

  • For request and response examples, read references/api.md.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 10:40 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,212 📥 266,268
ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,058 📥 796,991
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,352 📥 317,829