GET
AI 对话
AI图生图
借助免费接口以图生图,不可以有涩涩内容,返回换个图的可能是识别到涩涩了
累计调用 8
今日调用 0
更新于 2026-10-16
调用地址
GET
https://itapi.top/api/AiImage
请求参数
| 参数名 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| url | string | 必填 | 图片链接 | 暂无 |
| word | string | 可选 | 图片提醒词,有默认。 | 暂无 |
| 0 | string | 可选 | 同word | 暂无 |
| strength | float | 可选 | 关键词强度,默认0.6最高1.0 | 暂无 |
| 1 | float | 可选 | 同strength | 暂无 |
响应示例
200 OK
IMAGE
在线测试
代码示例
cURL · GET
curl "https://itapi.top/api/AiImage?url=%E6%9A%82%E6%97%A0&word=%E6%9A%82%E6%97%A0&0=%E6%9A%82%E6%97%A0&strength=%E6%9A%82%E6%97%A0&1=%E6%9A%82%E6%97%A0"
PHP
<?php
$res = file_get_contents("https://itapi.top/api/AiImage?url=%E6%9A%82%E6%97%A0&word=%E6%9A%82%E6%97%A0&0=%E6%9A%82%E6%97%A0&strength=%E6%9A%82%E6%97%A0&1=%E6%9A%82%E6%97%A0");
$json = json_decode($res, true);
print_r($json);
JavaScript
const res = await fetch("https://itapi.top/api/AiImage?url=%E6%9A%82%E6%97%A0&word=%E6%9A%82%E6%97%A0&0=%E6%9A%82%E6%97%A0&strength=%E6%9A%82%E6%97%A0&1=%E6%9A%82%E6%97%A0");
const json = await res.json();
console.log(json);
Python
import requests
r = requests.get("https://itapi.top/api/AiImage?url=%E6%9A%82%E6%97%A0&word=%E6%9A%82%E6%97%A0&0=%E6%9A%82%E6%97%A0&strength=%E6%9A%82%E6%97%A0&1=%E6%9A%82%E6%97%A0", timeout=10)
print(r.json())