Skip to content
Back to search

agnes-free-model-skills

Agnes AI 免费文本、图片、视频模型的 Codex/Agent Skills

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/kangarooking--agnes-free-model-skills/badge.svg)](/listings/kangarooking--agnes-free-model-skills)

HTML

<a href="/listings/kangarooking--agnes-free-model-skills"><img src="/api/listings/kangarooking--agnes-free-model-skills/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

把需要的 skill 文件夹复制到你的 Codex skills 目录:

cp -R agnes-free-text ~/.codex/skills/
cp -R agnes-free-image ~/.codex/skills/
cp -R agnes-free-video ~/.codex/skills/

也可以把这个仓库放在任意位置,然后在自己的 Agent 运行时里引用对应的 `SKILL.md`。

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 91 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # Agnes 免费模型 Agent Skills
  2. [English](README.en.md)
  3. 这是一套可直接放进 Codex/Agent 运行环境的本地 skills,用来调用 Agnes AI 的免费文本、图片和视频模型 API。仓库只包含可复用的 skill 文件、参考文档和 Python 辅助脚本,不包含任何 API Key、生成结果或本地运行产物。
  4. ## 包含哪些 Skill
  5. | Skill | 能力 | 适合场景 |
  6. | --- | --- | --- |
  7. | `agnes-free-text` | 调用 Agnes-2.0-Flash 免费文本模型,支持 Chat Completions、流式输出和工具调用实验。 | 用户说“用免费的文本模型”“免费文本 API”“Agnes 文本”等。 |
  8. | `agnes-free-image` | 调用 Agnes Image 2.1 Flash 免费图片模型,支持文生图、图生图/图片改造,并下载返回图片。 | 用户说“用免费的图片模型”“免费图片生成”“Agnes 图片”等。 |
  9. | `agnes-free-video` | 调用 Agnes-Video-V2.0 免费视频模型,创建异步任务、轮询状态并下载视频。 | 用户说“用免费视频模型”“免费生成视频”“Agnes 视频”等。 |
  10. ## 安装
  11. 把需要的 skill 文件夹复制到你的 Codex skills 目录:
  12. ```bash
  13. cp -R agnes-free-text ~/.codex/skills/
  14. cp -R agnes-free-image ~/.codex/skills/
  15. cp -R agnes-free-video ~/.codex/skills/
  16. ```
  17. 也可以把这个仓库放在任意位置,然后在自己的 Agent 运行时里引用对应的 `SKILL.md`。
  18. ## 配置
  19. 请通过环境变量提供 Agnes API Key,不要把 Key 写进 skill、脚本或仓库。
  20. ```bash
  21. export AGNES_API_KEY="your_api_key_here"
  22. ```
  23. 辅助脚本也支持 `AGNES_TOKEN` 作为备用变量。如果 Agnes 的接口域名发生变化,可以用 `AGNES_API_BASE` 覆盖默认地址。
  24. ## 快速校验
  25. ```bash
  26. python3 -m py_compile \
  27. agnes-free-text/scripts/agnes_text.py \
  28. agnes-free-image/scripts/agnes_image.py \
  29. agnes-free-video/scripts/agnes_video.py
  30. python3 agnes-free-text/scripts/agnes_text.py --help
  31. python3 agnes-free-image/scripts/agnes_image.py --help
  32. python3 agnes-free-video/scripts/agnes_video.py --help
  33. ```
  34. ## 使用示例
  35. 文本模型:
  36. ```bash
  37. python3 agnes-free-text/scripts/agnes_text.py chat \
  38. --message "用三句话解释 Agent skill 是什么"
  39. ```
  40. 图片模型:
  41. ```bash
  42. python3 agnes-free-image/scripts/agnes_image.py generate \
  43. --prompt "一张适合公众号封面的科技感插画,干净明亮"
  44. ```
  45. 视频模型:
  46. ```bash
  47. python3 agnes-free-video/scripts/agnes_video.py create \
  48. --prompt "竖屏短视频,医生办公室,干净明亮的医疗科普画面,无文字,无旁白"
  49. ```
  50. 视频任务通常是异步的,可以继续轮询并下载:
  51. ```bash
  52. python3 agnes-free-video/scripts/agnes_video.py status \
  53. --task-id task_123456 \
  54. --wait \
  55. --download-dir downloads
  56. ```
  57. ## 安全边界
  58. - API Key 只从环境变量读取。
  59. - 仓库不包含真实密钥、生成媒体、本地运行输出或用户私有素材。
  60. - `references/api.md` 中只使用占位符,例如 `YOUR_API_KEY` 和 `$AGNES_API_KEY`。
  61. - `.gitignore` 已忽略 `.env`、`outputs/`、`downloads/` 和常见媒体生成文件。
  62. ## 许可证
  63. MIT

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.