VA

velin-api/velin-image-api

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

1 stars 0 forks 质量 80 趋势 16MIT

Nano Banana Pro/2、GPT Image 2/2.5 图片和 Suno 5.5 音乐的按次付费 API——Python、Node、curl、n8n、MCP、SillyTavern 示例

概览

(72agi.com)是一个按图片付费的AI图像生成API。一个API密钥,一个简单的异步端点,以及七个模型,包括Nano Banana Pro、Nano Banana 2和GPT Image 2 / 2.5。你按图片和付费。 - ,无需订阅 - 积分自动退款。- 按请求(图像对图像/风格/构图)- 批量定价可协商。- - 支持/批量优惠:Telegram - : POST /api/music,适用于Suno 5.5或Suno 5,每代收费0.80日元(≈ 0.12美元),每代2首曲目。示例:examples/music/suno.py,examples/music/suno.mjs。指南:https://72agi.com/suno-api.html - 适用于Claude Desktop / Cursor / Cline: mcp/(无依赖,图片+音乐工具)。- (根据OpenAI):MIGRATE-FROM-GPT-IMAGE-1.md。- : 技能文件 https://72agi.com/velin-agent-skill.txt 1. 登录 。2. 打开 (https://72agi.com/me.html) 并点击你键旁边的键。3. 将其存储在环境变量中: ⚠️ 它调用了API,并登录你的账户。

概述(AI 翻译)

VELIN(72agi.com)是一个按图片付费的AI图像生成API。一个API密钥,一个简单的异步端点,以及七个模型,包括Nano Banana Pro、Nano Banana 2和GPT Image 2 / 2.5。你按图片付费,价格相同,分别是1K、2K和4K。

  • **每张图片约0.037美元起,无需订阅
  • 失败的代际不计费。 积分自动退还。
  • 每个请求最多14张参考图片(图片对图片/风格/构图)
  • 每天最多100,000张图片的处理能力。 批量定价可协商。
  • 从小额增值开始:在Telegram上发消息@ayan8866e
  • 支持/批量发牌:Telegram @ayan8866e

新:音乐(Suno 5.5 / 5),MCP 服务器,gpt-image-1 迁移

  • 音乐:POST /api/music,与Suno 5 5相房,每代收费0.80日元(≈ 0.12美元),每代2首曲目。示例:examples/music/suno.py、examples/music/suno.mjs。指南:https://72agi.com/suno-api.html
  • MCP 服务器 支持 Claude Desktop / Cursor / Cline: mcp/(零依赖,图像 + 音乐工具)。
  • **gpt-image-1 于2026-10-23关闭(根据OpenAI):MIGRATE-FROM-GPT-IMAGE-1.md。
  • AI代理:技能文件 https://72agi.com/velin-agent-skill.txt

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

VELIN Image API: Developer Integration Kit

VELIN (72agi.com) is a pay-per-image AI image generation API. One API key, one simple async endpoint, and seven models, including Nano Banana Pro, Nano Banana 2 and GPT Image 2 / 2.5. You pay per image and the price is the same at 1K, 2K and 4K.

  • From about $0.037 per image, with no subscription
  • Failed generations are not charged. Credits are refunded automatically.
  • Up to 14 reference images per request (image-to-image / style / composition)
  • Capacity up to 100,000 images/day. Volume pricing is negotiable.
  • Get started with a small top-up: message @ayan8866e on Telegram
  • Support / volume deals: Telegram @ayan8866e
.
├── README.md                        ← you are here
├── curl.sh / generate.py / generate.mjs   ← full-featured CLI examples (retries, refs, backoff)
├── minimal/                         ← the smallest working client: velin_min.py / .mjs / .sh
├── examples/batch_product_shots.py  ← batch + reference images + resumable manifest
├── n8n-velin-image-workflow.json    ← importable n8n workflow (submit + poll + download)
├── sillytavern/                     ← local adapter + setup guide for SillyTavern
├── comfyui/ComfyUI-VELIN/           ← ComfyUI custom node (draft)
├── tests/mock_velin.py              ← offline mock of the API used to test the examples
├── TESTING.md                       ← exactly what was tested, and against what
└── SILLYTAVERN.md                   ← why SillyTavern needs an adapter

New: music (Suno 5.5 / 5), MCP server, gpt-image-1 migration

Quickstart

1. Get your API key

  1. Sign in at https://72agi.com.
  2. Open My account (https://72agi.com/me.html) and press Copy next to your key.
  3. Store it in an environment variable:
export VELIN_API_KEY="paste-your-key-here"

⚠️ Treat the key like a password. It calls the API and signs in to your account. Keep it on your server and never put it in front-end code or URLs. If it leaks, press replace on My account and the old key stops working immediately.

2. Authenticate

Every request sends one header:

Authorization: Bearer 

Base URL: https://72agi.com

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →