CrowdComputed API

文生图Qwen2512

Qwen-Image-2512大幅度降低了生成图片的AI感,提升了图像真实性; 在风景构图,动物毛发更加细腻; 提升了文字渲染的质量,图文混合渲染更准确,排版更好

POST
/api/v1/generate/qwen2512-text2image

Query Parameters

mode?string

可选参数,接口调用模式,默认同步模式

Value in"sync" | "async_websocket" | "async_callback"
callback?string

当mode=async_callback时,此参数必填,用于接收异步调用的结果通知

costLookup?boolean

可选参数,默认值为false,如果指定为true,用于查询参数对应的积分消耗值,接口不实际执行生成任务

Header Parameters

token*string
Default""

Request Body

application/json

prompt*string

你的图片描述。告诉AI你想看到什么。

Default""
negativePrompt?string

避免的内容。描述你不想看到的东西。

Default""
imageRatio*string

图片的比例。

Default"1:1"
Value in"21:9" | "2:1" | "16:9" | "3:2" | "4:3" | "5:4" | "1:1" | "4:5" | "3:4" | "2:3" | "9:16" | "1:2" | "9:21"
imageCount*integer

生成图片数量。

Default5

Response Body

application/json

curl -X POST "https://api.crowdcomputed.com/api/v1/generate/qwen2512-text2image?mode=sync&callback=&costLookup=false" \  -H "token: " \  -H "Content-Type: application/json" \  -d '{    "prompt": "",    "imageRatio": "1:1",    "imageCount": 5  }'