Image Editing

Edit an existing image by providing a reference image alongside a text prompt describing the desired changes.

CLI

progrok image --ref photo.png "make the sky purple"

API

curl -X POST http://localhost:18645/v1/images/edits   -H 'Authorization: Bearer anything'   -H 'Content-Type: application/json'   -d '{
  "prompt": "make the sky purple",
  "image": {"url": "https://example.com/photo.png"},
  "size": "1024x1024"
}'