Midjourney Auto Upscale

FREEMIUM
By OmarCo | Updated vor einem Monat | Artificial Intelligence/Machine Learning
Health Check

N/A

README

Midjourney Image Generation API

This API provides low-latency access to Midjourney’s FAST generation capabilities.

Only Fast Image Generation

  • Images are generated in 5-90 seconds depending on varous factors
  • Uses Midjourney’s FAST model for nearly instant results
  • Take advantage of brief access to results before they are deleted
  • You can run imagine, and upscale the 4 images with only 1 API call

Transient Image URLs

  • Output images are available for 48 hours
  • Image URLs expire automatically 48 hours after creation
  • Save results before they vanish

Endpoints

Imagine

Generate new images from a text prompt

POST /imagine

{
  "prompt": "A cute puppy playing in the grass", 
  "webhook": "https://yourwebhook.com" // optional 
}

Returns: {
  "job_id": "12345...",
  "prompt": "A cute puppy playing in the grass",
  "webhook": "https://yourwebhook.com", // optional
  "status": "pending",
}

Upscale

Upscale an existing image to high resolution

POST /upscale

{
  "job_id": "12345...",
  "variation": 2, 
  "webhook": "https://yourwebhook.com" // optional
}

Returns: {
  "job_id": "12345...",
  "parent_job_id": "12345...",
  "prompt": "A cute puppy playing in the grass",
      "webhook": null,
      "variation": 1,
      "image_url": "https://midjourney-public...",
      "job_type": "upscale",
      "status": "completed"
}

Imagine and Upscale

Generate a new image from a prompt and upscale it. Combines the above two endpoints.

POST /api/imagine-and-upscale

{
  "prompt": "A cute puppy playing in the grass",
   "webhook": "https://yourwebhook.com" // optional
}

Returns: {
  "job_id": "12345...",
  "prompt": "A cute puppy playing in the grass",
  "webhook": "https://yourwebhook.com", // optional
  "image_url": "https://midjourney-public....",
  "status": "completed",
  "upscales": [
    {
      "job_id": "12345...",
      "parent_job_id": "56789...",
      "prompt": "A cute puppy playing in the grass",
      "webhook": null,
      "variation": 1,
      "image_url": "https://midjourney-public....",
      "job_type": "upscale",
      "status": "completed"
    },
    {
      "job_id": "12345...",
      "parent_job_id": "56789...",
      "prompt": "A cute puppy playing in the grass",
      "webhook": null,
      "variation": 2,
      "image_url": "https://midjourney-public....",
      "job_type": "upscale",
      "status": "completed"
    },
    {
      "job_id": "12345...",
      "parent_job_id": "56789...",
      "prompt": "A cute puppy playing in the grass",
      "webhook": null,
      "variation": 3,
      "image_url": "https://midjourney-public....",
      "job_type": "upscale",
      "status": "completed"
    },
    {
      "job_id": "12345...",
      "parent_job_id": "56789...",
      "prompt": "A cute puppy playing in the grass",
      "webhook": null,
      "variation": 4,
      "image_url": "https://midjourney-public...",
      "job_type": "upscale",
      "status": "completed"
    }
  ]
}

Status

Check generation status and retrieve image URLs

GET /status/:job_id

Returns: {
      "job_id": "12345...",
      "parent_job_id": "56789...",
      "prompt": "A cute puppy playing in the grass",
      "webhook": null,
      "variation": 4,
      "image_url": "https://midjourney-public...",
      "job_type": "upscale",
      "status": "completed"
    }

About

This API is powered by Midjourney’s FAST image generation for speed and ephemeral image URLs. Create amazing images instantly!

Followers: 1
API Creator:
Rapid account: Omar Co
OmarCo
omar.goco
Log In to Rate API
Rating: 2.3 - Votes: 3