{
"success": true,
"status": "succeeded",
"jobId": "c7c9d2cd-83b6-437f-a6a2-da46827836f4",
"items": [
{
"outputs": [
"https://media.getpnda.com/examples/fast-image.png"
],
"seconds": null,
"expiresAt": "2026-11-10T16:28:49.000Z"
}
],
"message": "Download the files within 1 hour: the links expire."
}
curl --location --request POST 'https://zylalabs.com/api/14620/fast+text+to+image+api/37582/generate+one+image?prompt=A red fox sitting in a snowy forest at dawn, soft light&aspectRatio=1:1' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 快速文本到图像 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|