agentCLAWHUBUnverified

九马免费文生图

九马AI免费图片生成技能。使用九马AI API进行文本到图片的生成,支持自定义图片尺寸和提示词。当用户需要根据文本描述生成图片时使用此技能。Jiuma AI's free image generation skill. Utilize the Jiuma AI API to generate images fro... Skill: 九马免费文生图 Owner: dddcn1 Summary: 九马AI免费图片生成技能。使用九马AI API进行文本到图片的生成,支持自定义图片尺寸和提示词。当用户需要根据文本描述生成图片时使用此技能。Jiuma AI's free image generation skill. Utilize the Jiuma AI API to generate images fro... Tags: latest:1.0.2 Version history: v1.0.2 | 2026-04-02T03:05:51.672Z | user - Added concise English description to the SKILL.md front matter, making the skill more accessible to non-Chinese users. - No functional changes

OpenClaw

Rank

62

Safety

84

Downloads

2.0k

Updated

Oct 9, 2026

Version

1.0.2

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 2K downloads reported by the source. Last updated 10/9/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 9, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 9, 2026
Adoption signal
2K downloadsadoption · observed Oct 9, 2026
Latest release
1.0.2release · observed Apr 2, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s172n16znrtx2sb8vkrnr0p15n83khp0:jiuma-free-image-gen
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-dddcn1-jiuma-free-image-gen/snapshot"

Documentation

CLAWHUB

28,230 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

skill.md

---
name: jiuma-free-image-gen
description: 九马AI免费图片生成技能。使用九马AI API进行文本到图片的生成,支持自定义图片尺寸和提示词。当用户需要根据文本描述生成图片时使用此技能。Jiuma AI's free image generation skill. Utilize the Jiuma AI API to generate images from text, supporting customizable image sizes and prompt words. This skill is employed when users need to generate images based on text descriptions.
---

# 九马AI免费图片生成技能

基于九马AI API的文本到图片生成技能。支持根据文本提示词生成高质量图片,并可自定义图片尺寸。

## ⚠️ 重要提醒

**免费使用次数限制**:九马AI提供有限的免费使用次数。当出现`FreeApiLimit`错误时,**必须**先完成登录流程:

1. **获取登录信息**:`python3 login.py --login`
2. **扫码登录**:用手机扫描返回的二维码完成九马AI平台注册/登录
3. **获取API密钥**:`python3 login.py --check --access_token "<your_token>"`
4. **正常使用**:之后即可获得更多免费次数使用文生图功能

## 核心功能

1. **文本到图片生成**: 根据文本描述生成相应的图片
2. **自定义尺寸**: 支持自定义图片宽度和高度(最大832x832)
3. **任务状态查询**: 提交任务后可以查询生成进度和结果
4. **免费使用**: 限制级免费使用,无需API密钥,但免费用户在输出尺寸方面会有限制,使用并发高时需要排队等待;

## 使用方法

### 命令行使用

```bash
# 提交图片生成任务
python3 agent.py --submit --text "一只可爱的小猫在草地上玩耍" --width 512 --height 512

# 查询任务状态
python3 agent.py --check --task_id "202603263844232132"
```

### 在OpenClaw中使用

```python
# 提交图片生成任务
exec python3 ~/.openclaw/workspace/skills/jiuma-free-image-gen/agent.py --submit --text "美丽的日落风景" --width 832 --height 480

# 查询任务状态
exec python3 ~/.openclaw/workspace/skills/jiuma-free-image-gen/agent.py --check --task_id "20260326486039011"
```

## API说明

### 提交图片生成API
- **URL**: `POST https://api.jiuma.com/api/textImage/add`
- **参数**:
  - `text`: 图片描述文本(必需)
  - `width`: 图片宽度(可选,默认832,最大832)
  - `height`: 图片高度(可选,默认480,最大832)

### 查询任务状态API
- **URL**: `POST https://api.jiuma.com/api/textImage/status`
- **参数**:
  - `task_id`: 任务ID(必需)

## 任务状态说明

| 状态 | 含义 | 说明 |
|------|------|------|
| PENDING | 排队中 | 任务已提交,正在等待处理 |
| RUNNING | 执行中 | 图片正在生成中 |
| SUCCEEDED | 成功 | 图片生成完成,返回图片URL |
| FAILED | 失败 | 图片生成失败,返回错误信息 |

## 返回格式

### 提交任务成功
```json
{
  "status": "success",
  "message": "文生图任务提交成功",
  "data": {
    "task_id": "202603263844232132"
  }
}
```

### 免API_KEY免费生成次数达到上限
```json
{
  "status": "FreeApiLimit",
  "message": "免费使用次数达到上限,成为九马AI平台用户可获得更多使用次数",
  "data": {}
}
```

### 查询任务成功(图片已生成)
```json
{
  "status": "success",
  "message": "图片生成成功",
  "data": {
    "image_url": "https://cache.jiuma.com/static/uploads/20260326/69c4cc0c043e1.png",
    "task_id": "20260326486039011"
  }
}
```

### 查询任务排队/执行中
```json
{
  "status": "pending",
  "message": "文生图任务排队中,请耐心等待",
  "data": {
    "task_id": "20260326486039011"
  }
}
```

### 任务失败
```json
{
  "status": "failed",
  "message": "图片生成失败: 具体错误信息",
  "data": {
    "task_id": "20260326486039011"
  }
}
```

## 示例

### 提交图片生成任务
```bash
$ python3 agent.py --submit --text "一只可爱的小猫在草地上玩耍" --width 512 --height 512

# 输出示例
{
  "status": "success",
  "message": "文生图任务提交成功",
  "data": {
    "task_id": "202603263844232132"
  }
}
```

### 查询任务状态
```bash
$ python3 agent.py --check --task_id "202603263844232132"

# 输出示

_meta.json

{
  "ownerId": "kn71rvwzspjtjf23k8bfwabx1h83k632",
  "slug": "jiuma-free-image-gen",
  "version": "1.0.2",
  "publishedAt": 1775099151672
}

LOGIN.md

# 九马AI授权登录

用于获取和管理九马AI服务的API访问密钥。通过扫码登录方式获取API密钥,使其他九马AI技能能够正常使用。

## 核心功能

1. **获取登录二维码**:生成九马AI平台的登录二维码和登录链接
2. **检查登录状态**:获得二维码和登录链接之后,定时每分钟验证登录状态并获取API密钥
3. **API密钥管理**:自动保存获取的API密钥到本地文件系统
4. **无缝集成**:与其他九马AI技能(文生图、数字人、语音克隆等)无缝集成

## 安装依赖

```bash
# 安装必要的Python依赖
pip install requests
```

## 使用方法

### 命令行使用

```bash
# 1. 获取登录二维码和访问令牌
python3 jiuma_auth_login.py --login

# 2. 检查登录状态并获取API密钥
python3 jiuma_auth_login.py --check --access_token "<your_access_token>"
```

### 完整登录流程示例

```bash
# 第一步:获取登录信息
python3 jiuma_auth_login.py --login
# 输出示例:
# {
#   "status": "success",
#   "message": "获取登录通行证成功",
#   "data": {
#     "login_qrcode": "https://cache.jiuma.com/static/uploads/20260331/69cb63596b230.png",
#     "login_url": "https://console.jiuma.com/user/login?rand_string=69cb63585b3db",
#     "access_token": "abc123xyz456"
#   }
# }

# 第二步:用手机扫描二维码或访问登录链接完成登录
# 第三步:添加每分钟定时任务,验证登录状态并获取API密钥,或用户告知完成登录主动触发
python3 jiuma_auth_login.py --check --access_token "abc123xyz456"
# 输出示例:
# {
#   "status": "success",
#   "message": "登录成功,已保存api_key,可以继续使用九马AI工具",
#   "data": {}
# }
```

### 在OpenClaw中使用

```bash
# 获取登录信息
exec python3 /path/to/jiuma_auth_login.py --login

# 检查登录状态
exec python3 /path/to/jiuma_auth_login.py --check --access_token "your_token_here"
```

## 密钥存储

技能会自动在以下位置保存API密钥:
- **存储路径**: `~/.openclaw/workspace/.jiuma/jiuma_api_key`
- **存储格式**: 纯文本格式保存API密钥
- **权限**: 只有当前用户可以读取

## 与其他九马AI技能的集成

此技能获取的API密钥可以被其他九马AI技能使用:

```bash
# 1. 先获取API密钥
python3 jiuma_auth_login.py --login
# 然后用返回的access_token检查登录状态
python3 jiuma_auth_login.py --check --access_token "your_token"

# 2. 之后就可以使用其他九马AI技能
# 如:文生图技能
python3 jiuma_free_image_gen/agent.py --submit --text "图片描述"

# 数字人生成技能
python3 jiuma_free_meta_human/generate_video.py --action create --text "视频内容"
```

## 错误处理

| 错误类型 | 描述 | 解决方案 |
|---------|------|---------|
| 网络超时 | 请求API超时 | 检查网络连接,重试操作 |
| API返回错误 | API返回非200状态码 | 查看具体错误信息,联系九马AI支持 |
| 登录状态无效 | access_token无效或已过期 | 重新获取登录二维码 |
| 文件权限错误 | 无法保存API密钥 | 检查文件系统权限 |

## 注意事项

1. **API密钥安全**:获取的API密钥会自动保存在本地,请确保文件系统安全
2. **登录时效**:登录二维码和access_token通常有有效期限制,建议尽快完成登录
3. **网络要求**:需要能够访问九马AI API服务器(api.jiuma.com)
4. **兼容性**:此技能需要Python 3.6+和requests库

skill-card.md

## Description:

Jiuma AI's free image generation skill uses the Jiuma AI API to generate images from text prompts with configurable image dimensions.

This skill is ready for commercial/non-commercial use.

## Publisher:

[dddcn1](https://clawhub.ai/user/dddcn1)

### License/Terms of Use:

MIT-0

## Use Case:

External users and developers use this skill to submit text prompts to Jiuma AI, poll generation status, and retrieve generated image URLs. It is suited for agent workflows that need lightweight text-to-image generation with optional login for additional free usage.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Prompts and login workflow data are sent to Jiuma services.

Mitigation: Use the skill only when sharing that content with Jiuma is acceptable, and avoid prompts containing sensitive or personal information.

Risk: The Jiuma API key is stored locally in plaintext without enforced private permissions.

Mitigation: Run the skill in an isolated environment and inspect or harden the key file permissions before use.

Risk: The artifact documentation asks the agent to persist a memory entry.

Mitigation: Remove or ignore that memory-recording instruction before deployment.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/dddcn1/skills/jiuma-free-image-gen)
- [Jiuma text-to-image submit API](https://api.jiuma.com/api/textImage/add)
- [Jiuma text-to-image status API](https://api.jiuma.com/api/textImage/status)
- [Jiuma login guide](artifact/LOGIN.md)

## Skill Output:

**Output Type(s):** [Text, Markdown, Code, Shell commands, Configuration, Guidance]

**Output Format:** [Markdown guidance with shell commands and JSON API responses]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [The runtime response includes task IDs for submitted jobs and image URLs when generation succeeds.]

## Skill Version(s):

1.0.2 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
Github ReposUpdated 8h agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/dddcn1/skills/jiuma-free-image-gen",
      "sourceUrl": "https://clawhub.ai/dddcn1/skills/jiuma-free-image-gen",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-09T21:58:00.075Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-dddcn1-jiuma-free-image-gen/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-dddcn1-jiuma-free-image-gen/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-09T21:58:00.075Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "2K downloads",
      "href": "https://clawhub.ai/dddcn1/jiuma-free-image-gen",
      "sourceUrl": "https://clawhub.ai/dddcn1/jiuma-free-image-gen",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-09T21:58:00.075Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.2",
      "href": "https://clawhub.ai/dddcn1/jiuma-free-image-gen",
      "sourceUrl": "https://clawhub.ai/dddcn1/jiuma-free-image-gen",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-02T03:05:51.672Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-dddcn1-jiuma-free-image-gen/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-dddcn1-jiuma-free-image-gen/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.2",
      "description": "- Added concise English description to the SKILL.md front matter, making the skill more accessible to non-Chinese users. - No functional changes to code or APIs; documentation only.",
      "href": "https://clawhub.ai/dddcn1/jiuma-free-image-gen",
      "sourceUrl": "https://clawhub.ai/dddcn1/jiuma-free-image-gen",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-02T03:05:51.672Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 10, 2026.

Sponsored

Ads related to 九马免费文生图 and adjacent AI workflows.