GPT Image Edit
A GPT-powered image editor. Upload any image with a natural-language instruction to transform, stylize, or modify it.
Endpoint
POST https://z.os7.site/api/generative/gptimage
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey | string | Yes | Your secret Zapi API key. |
prompt | string | Yes | Instruction to transform the image (e.g., “Make it winter”). |
imageUrl | string | Yes | The public URL of the source image to edit. |
Example Request
curl -X POST https://z.os7.site/api/generative/gptimage \
-H "Content-Type: application/json" \
-d '{
"apikey": "zp_your_secret_api_key",
"prompt": "Turn the background into a snowy mountain",
"imageUrl": "https://example.com/source-image.jpg"
}' \
--output result.pngExample Response
The response is a raw binary image buffer containing your edited image.
HTTP/1.1 200 OK
Content-Type: image/png
<Binary Image Data>Last updated on