Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

myreels-apimyreels API 文档

Agent Skill

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

总安装

7,032

周安装

299

GitHub Stars

公开资料未说明

下载量

2,464
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:myreels-api(myreels API 文档)
来源仓库:https://github.com/beautyaiclub/myreels-api
安装命令:
openclaw skills install myreels-api
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install myreels-api

简介

myreels-api 辅助 MyReels 服务的接口设计与文档生成。

  • 可梳理 endpoint、生成 OpenAPI 草稿并检查字段命名规范。
  • 适用于前后端协作开发与系统集成阶段。myreels-api 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 需结合实际业务语义与鉴权方式验证接口设计。
  • 避免凭空补全字段,应基于现有 schema 或样例数据。

SKILL.md

name
myreels-api
description
>
homepage
https://myreels.ai
repository
https://github.com/myreelsai/skills
requires
env
runtime
metadata
author
myreelsai

MyReels API

This skill is the executable interface to the MyReels public API. Use the bundled scripts first. Fall back to the raw HTTP references only when the scripts do not cover the case.

Operator Rules

  • Always read the live model schema before building a request body.
  • Do not invent parameter names. Use userInputSchema from the live models endpoint.
  • Prefer the bundled scripts over hand-written curl or fetch.
  • Save result URLs on your side. Do not assume MyReels stores them forever.

Prerequisites

  • An active MyReels subscription is required for generation and task query endpoints.
  • Create an AccessToken in myreels.ai/developer.
  • GET https://api.myreels.ai/api/v1/models/api was verified on March 18, 2026 and currently does not require Authorization.

Config file ~/.myreels/config:

MYREELS_BASE_URL="https://api.myreels.ai"
MYREELS_ACCESS_TOKEN="YOUR_ACCESS_TOKEN"

The scripts in this skill read that file automatically. Environment variables override the file.

First-time setup or config issues:

scripts/myreels-doctor.sh

Bundled Scripts

  • scripts/myreels-doctor.sh

Checks config, dependencies, and live connectivity.

  • scripts/myreels-models.sh

Loads live model metadata and can filter by tag or modelName.

  • scripts/myreels-generate.sh

Submits a generation task for a chosen model.

  • scripts/myreels-tasks-list.sh

Lists the authenticated user's tasks with paging and filters.

  • scripts/myreels-task-get.sh

Queries a task and derives the next action for the agent.

Recommended Workflow

1. Load live models first

scripts/myreels-models.sh --summary

If you already know the candidate model, inspect its full schema:

scripts/myreels-models.sh --model MODEL_NAME

Priority fields when selecting a model:

  • modelName
  • name
  • tags
  • description
  • estimatedCost
  • displayConfig.estimatedTime
  • userInputSchema
  • userInputSchema.<param>.label
  • userInputSchema.<param>.description
  • userInputSchema.<param>.default
  • userInputSchema.<param>.options

For natural-language requests such as "stronger motion" or "disable prompt extension", map user intent from label and description, not from field names alone.

2. List existing tasks when needed

Use this when the user asks for recent tasks, task history, or wants to find tasks by status or date.

scripts/myreels-tasks-list.sh --page 1 --limit 10

Common filters:

scripts/myreels-tasks-list.sh --status completed --start-date 2026-03-01T00:00:00.000Z

For GET requests, the public Worker uses query parameters for these filters.

Supported task status values:

  • pending
  • processing
  • completed
  • failed
  • cancelled
  • warning

3. Submit a task

Use the real modelName, not a display slug.

Example:

scripts/myreels-generate.sh nano-banana2 '{"prompt":"A cinematic portrait with soft studio lighting"}'

Alternative if the request body is large:

scripts/myreels-generate.sh --model nano-banana2 --file request.json

The script returns a normalized JSON acknowledgement with taskID and the next polling hint.

4. Poll task status

scripts/myreels-task-get.sh TASK_ID

The script returns a simplified action model:

  • WAIT

Task is still running. Poll again later.

  • DELIVER

Task completed. Deliver resultUrls to the user.

  • FAILED

Task failed. Explain the failure and retry with a corrected request.

  • REVIEW

Unexpected task state. Inspect the raw response before retrying.

Task states from the public API:

  • pending
  • processing
  • completed
  • failed
  • cancelled
  • warning

Polling guidance:

  • image generation / image editing: 10 seconds
  • video generation: 30 seconds to 1 minute

Query rate limit:

  • 60 requests per minute

5. Deliver result URLs

When nextAction=DELIVER, read resultUrls from the output and pass the final URLs to the user. Save them on your side if persistence matters.

Response Rules

  • Check the final HTTP status first.
  • If the HTTP status is 2xx, then inspect the response body status.
  • For task queries, check data.status after status === "ok".
  • If the upstream response includes code, the Worker uses it as the final HTTP status.
  • If the upstream response does not include code, the Worker falls back to the upstream HTTP status.

Public Paths

  • POST /generation/:modelName
  • GET /generation/tasks
  • GET /query/task/:taskID
  • GET|POST /api/v1/*

Model Categories

CategoryTagsDescription
Image and editingt2i / i2i / i2etext-to-image, image-to-image, image editing
Videot2v / i2vtext-to-video, image-to-video, avatar/video motion
Speech and musict2a / m2atext-to-speech, music generation

Raw API Fallback

If the bundled scripts do not cover the case, use the raw HTTP references:

Install

npx skills add https://github.com/myreelsai/skills --skill myreels-api -g

Remove -g for a project-level install.

适合场景

01

文本生成图片

02

图片风格化

03

产品图和创意图

04

需要 FLUX 模型时

能力概览

能力 1

调用 FLUX 图像模型

能力 2

支持文本生图和图像改写

能力 3

覆盖 LoRA 或风格适配

能力 4

适合创意视觉生成

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

78.45%
按下载量换算1,933

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills