AI Images
OpenAI's GPT-Image-2, Generate with prompt
Changed onText to image with prompt.
get/ai-image/gpt-image-2
Request
- Base URLhttps://api.paxsenix.org
- Authnone declared
Query parameters
promptstring required
Prompt to manipulate the image
ratiostring required
Available ratios: 16:9, 9:16, 1:1.
modelstring required
Available models: gpt-image-2, gpt-image-2.5-sunburst.
Response
Success - Got the response
Example response
{
"creator": "@PaxSenix",
"message": "Here is your job id and task url!",
"ok": true,
"jobId": 183829,
"task_url": "https://example.com/task/19299"
}Changes
- breaking
added the new required
queryrequest parametermodel
- breaking
- info
endpoint added
- info