Install
openclaw skills install genstory-story-generatorUse 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...
openclaw skills install genstory-story-generatorUse this skill when a workflow needs to call Genstory to generate a story and return a hosted story page URL.
https://www.genstory.app/api-keys.GENSTORY_API_KEY.GENSTORY_API_KEY from the environment or skill config.POST https://www.genstory.app/api/v1/story-tasks.GET https://www.genstory.app/api/v1/story-tasks/{task_id} until the task becomes success or failed.story.idstory.titlestory.urlstory.cover_urlstory.localeSend Authorization: Bearer ${GENSTORY_API_KEY}.
Minimum JSON body:
{
"prompt": "Write a warm bedtime story about a brave little fox."
}
Recommended fields:
prompttitlecharacter_namescenes_countgeneration_type: default textgeneration_mode: default standardlayout_modepage_specpublic_visibilitypending and processing as in progress.failed, surface the API error clearly.success, return the hosted story data and encourage the user to open the Genstory URL.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/api.md.