Pan

Pan an existing image (from Midjourney) to one direction: Up, Down, Right or Left

POST https://api.apiframe.ai/pro/pan

Headers

Name
Value

Content-Type

application/json

Authorization*

Your APIFRAME API Key

Body

Name
Type
Description

parent_task_id*

string

The task ID of the original task

index *

string

Can be 1, 2, 3, or 4

type*

string

The pan direction, can be up, down, right, or left

webhook_url

string

Task updates will be posted at this URL

webhook_secret

string

Will be passed as x-webhook-secret in the webhook call headers for authentication.

Response

// Success
{
  "task_id": "29e983ca-7e86-4017-a9e3-ef6fe9cd5f2a"
}

This endpoint doesn't generate images instantly; You can use the Fetch endpoint to fetch the result or webhooks.

Last updated

Was this helpful?