DevTrends开发者趋势
主题色

产品

genstory ai story generator skills

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 online story URL plus cover image. Also use when the user needs …

DT小说创作DTAgent 能力扩展DTSkill / 插件

关于

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 online story URL plus cover image. Also use when the user needs setup guidance for obtaining a key from and configuring GENSTORYAPIKEY in their skill or workflow. 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 Store that key as GENSTORYAPIKEY. The intended final result is the online story URL and cover image. Required flow 1. Read GENSTORYAPIKEY from the environment or skill config. 2. Submit a task to POST 3. Poll GET until the task becomes success or failed. 4. Return the final structured result with: story.id story.title story.url story.coverurl story.locale Submit request Send Authorization: Bearer ${GENSTORYAPIKEY}. Minimum JSON body: json { "prompt": "Write a warm bedtime story about a brave little fox." } Recommended fields: prompt title charactername scenescount generationtype: default text generationmode: default standard layoutmode pagespec publicvisibility 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: json { "taskid": "taskuuid", "status": "success", "story": { "id": "storyuuid", "title": "Story title", "url": " "coverurl": " "locale": "en" } } References For request and response examples, read references/api.md.

收录记录

  1. 阮一峰周刊·用户投稿

    2026年4月9日 · 1 次收录

讨论这个产品