Images

Submit an inpaint or outpaint job

Today wired to BFL Flux Fill Pro. mode: "inpaint" requires a mask; mode: "outpaint" requires an outpaint preset. Pricing is flat regardless of mode.

post/v2/images/edit

Request

  • Base URL: https://api.apiframe.ai
  • URL: https://api.apiframe.ai/v2/images/edit
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Headers

Idempotency-Keystring

Optional client-supplied key (max 255 chars). Replaying the same key within 24 hours returns the original job rather than creating a duplicate. Strongly recommended for any non-idempotent network: cron jobs, browser retries, mobile clients.

Request body

model'flux-fill-pro' required
webhookUrlstring uri
webhookEventsstring[]

Response

Job accepted and queued. Track via GET /v2/jobs/{id} or webhook.

jobIdstring uuid required
status'QUEUED' | 'PROCESSING' | 'COMPLETED' | 'FAILED' required

Status at the moment the job record was persisted. Almost always QUEUED; idempotent replays may return the original status.

Changes

No recorded changes to this operation across all 1 revision of this API.