nowapi-image 默认调用 https://api.aiid.edu.kg,并从 NOWAPI_API_KEY 读取鉴权信息。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Generate and edit images with NowAPI, including asynchronous Responses API image tasks.
nowapi-image 默认调用 https://api.aiid.edu.kg,并从 NOWAPI_API_KEY 读取鉴权信息。
| 命令 | API | 用途 |
|---|---|---|
models | GET /v1/models | 查询可用模型 |
generate | POST /v1/images/generations | 生成图片 |
edit | POST /v1/images/edits | 编辑图片 |
responses-create | POST /v1/responses | 创建异步图片任务 |
responses-get | GET /v1/responses/{response_id} | 查询异步图片任务 |
node scripts/nowapi-image.mjs models
node scripts/nowapi-image.mjs generate --json image-request.json
node scripts/nowapi-image.mjs edit --json edit-request.json
node scripts/nowapi-image.mjs responses-create --json responses-request.json
node scripts/nowapi-image.mjs responses-get --id resp_xxx
