Viduq2 - Text To Image - gptproto
Elite viduq2 text to image. Create breathtaking, high-resolution AI photography and digital art from text.
POST
viduq2 (Text To Image)
Authentication
- Sign up for a GPTProto account at https://gptproto.com
- Navigate to the API Keys section in your dashboard
- Generate a new API key (sk-xxxxx)
- Copy and securely store your API key For authentication details, please refer to the Authentication section.
Initiate Request
Query Result
If the request that generated your content includes the parameterenable_sync_mode set to true (some models do not support this parameter, but you still need to query the result by id), you must call the Query Result endpoint to retrieve the final output.
You can find it in either:
data.id– the unique identifier of the predictiondata.urls[0].get– a ready-to-use GET URL that already embeds the id
Response Example
Response Example
Parameters
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
prompt | string | ✅ Yes | - | - | The text prompt for generating the image. |
images | array | ✅ Yes | - | 1~7 items | The reference image to guide the generation. |
aspect_ratio | string | ❌ No | 1:1 | 1:116:99:164:33:421:92:33:2auto | The aspect ratio for the generated image. |
resolution | string | ❌ No | 1080p | 1080p2k4k | The output resolution quality: 1080p (1920x1080), 2K (2560x1440), or 4K (3840x2160). |
seed | integer | ❌ No | 1 | 1~2147483647 | The random seed to use for the generation. 1 means a random seed will be used. |
Error Codes
Common Error Codes
| Error Code | Error Name | Description |
|---|---|---|
| 401 | Unauthorized | API key is missing or invalid |
| 403 | Forbidden | Your API key doesn’t have permission to access this resource, or insufficient balance for the requested operation |
| 429 | Too Many Requests | You’ve exceeded your rate limit |
| 500 | Internal server error | An internal server error occurred |
| 503 | Content policy violation | Content blocked due to safety concerns (actual status code is 400) |

