Zoom

Zoom an existing image (from Midjourney); the zoom ratio from 1 to 2

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

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 zoom ratio. Can be:

  • 1.5 for MJ button "zoom out 1.5x"

  • 2 for MJ button "zoom out 2x"

  • (1, 2] for MJ button "custom zoom"

  • 1 for MJ button "make square"

You can take a look here

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?