🎨 nano-img API - AI图像生成接口 📡 API地址: https://api.nano-img.com/ 🤖 底层模型: Gemini 2.5 Flash Image Preview 🖼️ 输出格式: PNG图像 (1024x1024) 📝 使用方法: POST https://api.nano-img.com/ 请求格式 (JSON): { "messages": [ { "role": "user", "content": "你想生成的图像描述" } ], "max_tokens": 1000 } 📋 响应格式: { "choices": [ { "message": { "content": "![image](data:image/png;base64,iVBORw0KGg...)" } } ] } 💡 使用示例: curl -X POST "https://api.nano-img.com/" \ -H "Content-Type: application/json" \ -d '{"messages":[{"role":"user","content":"一只可爱的小猫"}],"max_tokens":1000}' 🌟 特色功能: - 支持中英文描述 - 高质量1024x1024输出 - Base64直接嵌入使用 - 完全免费无限制 - 支持CORS跨域访问 🔧 配置状态: - CORS: ✅ 已启用 - API密钥: ❌ 未配置 📞 技术支持: 遇到问题请提交Issue