curl --request POST \ --url https://geoff.ai/api/v1/image/edit \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "prompt": "Convert to watercolor painting style", "image_url": "https://example.com/photo.jpg", "model": "magma" }'
{ "data": { "images": [ { "url": "https://geoff.ai/api/v1/files/img_xyz/content", "width": 1024, "height": 1024 } ] }, "trace_id": "04ede0ab069fb1ba8be5156a24b1e081" }
Transform or edit an existing image using a text prompt.
Bearer API_key
image_url
file_id
magma