Midjourney Pan

Verleng bestaande afbeeldingen in één specifieke richting met nauwkeurige directionele uitbreiding met onze /pan API.

Wat is Pan?

Verleng je afbeeldingen in één specifieke richting (omhoog, omlaag, links of rechts) terwijl je visuele continuïteit behoudt.

Gebruik /pan API

Integreer de pan-functionaliteit van Midjourney rechtstreeks in je applicaties.

API Voorbeeld

curl --location 'https://api.legnext.ai/api/v1/pan' \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
    "jobId": "job_12345",
    "imageNo": 0,
    "direction": 1,
    "scale": 1.5,
    "remixPrompt": "Continue the forest path to the right",
    "callback": "https://your-domain.com/webhook"
}'

Parameters

  • jobId: ID van de oorspronkelijke afbeeldingsgeneratietaak
  • imageNo: Afbeeldingsnummer om uit te breiden (0-3)
  • direction: Uitbreidingsrichting (0-3)
  • scale: Uitbreidingsverhouding (1.1-3.0)
  • remixPrompt: Tekstprompt voor het uitgebreide gebied
  • callback: Webhook-URL

Antwoord

Geeft job-ID, status en tot 4 uitgebreide afbeeldings-URL's terug

Richting Waarden

0
Omlaag
1
Rechts
2
Omhoog
3
Links

Klaar om Afbeeldingen uit te Breiden?

Begin vandaag nog met onze /pan API.