Omixa API Docs

Stability Fast Upscale

Developer documentation

Stability Fast Upscale

Low-cost Stability AI upscaling that increases image resolution quickly.

Model Reference

Image generation and editing models

Prompt-to-image, image editing, image merging, upscaling, and background removal. Endpoint: https://omixa.cloud/api/v1/images/generations

Stability Fast Upscale

stability-upscale-fast

Low-cost Stability AI upscaling that increases image resolution quickly.

图像
Image per unit $0.020000
Minimum hold $0.010000
Integration reference

Connect Stability Fast Upscale

Use Omixa's unified endpoint and your workspace API key. Provider routing, billing, failover, and usage records are handled by Omixa.

POST https://omixa.cloud/api/v1/images/generations
  • Provider: stability
  • Endpoint type: stability_image_edit
Request schema

Request fields

Only send options supported by this model. Required fields and accepted values are listed below.

Field 类型 Required Accepted values 描述
model string Yes stability-upscale-fast Use `stability-upscale-fast`. Omixa resolves the active provider route and failover key automatically.
model string Yes Any valid value The Omixa Stability tool slug.
input_images array Yes Any valid value Exactly one inline PNG, JPG, or WebP source image. Use `{type:"image_url", image_url:{url:"data:image/png;base64,..."}}`.
output_format string No png, jpeg, webp Preferred output file format.
Ready to send

Payload and response

Start with this model-safe payload and expect the normalized Omixa response shape shown beside it.

Example JSON payload
{
    "model": "stability-upscale-fast",
    "output_format": "png",
    "input_images": [
        {
            "type": "image_url",
            "image_url": {
                "url": "data:image/png;base64,<base64-image>"
            }
        }
    ]
}
Response shape
{
    "created": 1780660800,
    "data": [
        {
            "b64_json": "<base64-image>",
            "url": null
        }
    ],
    "usage": {
        "billed_amount": "0.039000"
    }
}
Language examples

Copy-ready integration code

Replace the example API key with a workspace key and keep model-specific fields unchanged unless the table above marks them optional.

curl -X POST https://omixa.cloud/api/v1/images/generations \
  -H "Authorization: Bearer omx_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "stability-upscale-fast",
    "output_format": "png",
    "input_images": [
        {
            "type": "image_url",
            "image_url": {
                "url": "data:image/png;base64,<base64-image>"
            }
        }
    ]
}'
Production checklist

Operational notes

  • Authenticate with `Authorization: Bearer omx_live_xxx`.
  • Omixa handles provider keys, routing, billing, failover, and usage recording behind this endpoint.
  • For edits and reference workflows, send inline image data URLs. Omixa does not fetch arbitrary remote image URLs for providers that require inline media.
Copied Markdown