Sharpen a small picture

On this page

What it does #

Building block image Queued

Give it a picture that is too small for the screen it is going on and get back the same picture at twice the size, sharpened — a listing photo, a logo, an old scan.

Alias
oneup/image-upscale
How it runs
Queued — Runs in the background — you get a link when it is ready.
What it takes and what it gives
Image → Image

Built for #

  • Listing photos too small for a 1080p video
  • A logo that arrived at thumbnail size
  • Old photos and scans before a slideshow

Not for #

  • Enlarging more than twice: the size is fixed at 2×.
  • Changing what the picture shows: use oneup/image-edit.
  • Video: it works on one still picture at a time.

What this means for you #

  • Two credits per picture; a failed pass costs nothing.
  • Twice the size, always; larger factors are not offered.
  • Photographs only — it is not a drawing tool.

Sample output #

No sample is published yet. When there is one, it will be a real result OneUpAI made, shown here with the request that made it.

What you send, what you get back #

You send #

The web address of the picture (an upload of yours, or any public https image).

You get back #

The same picture at twice its width and height, as a JPEG.

What you can set #

SettingType and limitsWhat it means
model optionaltext, one of: standard, detailedstandard — tuned for photographs (the default when omitted); detailed — a stronger restoration.
scale optionalnumber, 2–2The factor. Fixed at 2 at this record (a 1024x768 photo becomes 2048x1536).
image_url requiredtext, 1–2048 charactersThe picture to enhance: an uploaded file_url from /v1/uploads or an external image URL (https).
output_format optionaltext, one of: jpeg, pngjpeg when omitted (a quarter of the bytes of png for a photograph).

The request #

The same request as an API call, with this capability's example input:

curl -X POST https://api.oneupai.com/v1/queue/submit/oneup/image-upscale \
  -H "Authorization: Bearer $ONEUP_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "standard",
  "scale": 2,
  "image_url": "https://media.oneupai.com/u/…/uploads/oneup_upload_…",
  "output_format": "jpeg"
}'

What comes back #

How it comes back
a file, on a link
File type
image/jpeg (you can also ask for image/png)
Resolution
twice the size of your picture
Each link works for
1 hour; read the result again for a fresh link

The response #

An example of the response, as the API reference shows it (placeholders, not a real run):

{
  "ticket": "oneup_req_SuaNFGGC0b4MGIeOrp78KFRXfR",
  "status": "QUEUED"
}

The request answers at once with a ticket. Poll GET /v1/queue/status/{ticket} until it says COMPLETED, then read GET /v1/queue/result/{ticket}: its full body follows the output schema under Schemas.

How long it takes #

Not yet measured: a time shows here once 50 runs have finished in 30 days.

What it costs #

3 credits

≈ $0.03 at the Concierge rate

For $1 you can run this about 27–32 times, depending on your plan.

Worked prices (Concierge rate) #

  • one picture: 3 credits, about $0.03
  • 20 listing photos: 60 credits, about $0.64

Limits #

  • Each uploaded file: up to 2 GB

Use it with #

Natural next steps and companions:

  • Measure how far away everything is oneup/image-depth — Give it a photograph and get back a picture of its depth: what is near is bright, what is far is dark. That is what lets a still photograph be moved through like a filmed shot instead of slid around like a postcard.
  • Move a real camera around a photo oneup/video-camera-move — Give it one photograph and pick a move — orbit around, dolly in, crane up, or sweep around and in — and get back a five-second clip that flies exactly that move. The camera path is the one you asked for, not the one a description happened to produce.
  • Rendered short video oneup/render-timeline — Cut your photos and clips into a finished short — cuts, punch-ins, captions, seamless transitions — the same result every time.

Schemas #

Show input schema (JSON)
{
  "type": "object",
  "required": [
    "image_url"
  ],
  "properties": {
    "model": {
      "enum": [
        "standard",
        "detailed"
      ],
      "type": "string",
      "description": "standard — tuned for photographs (the default when omitted); detailed — a stronger restoration."
    },
    "scale": {
      "type": "number",
      "maximum": 2,
      "minimum": 2,
      "description": "The factor. Fixed at 2 at this record (a 1024x768 photo becomes 2048x1536)."
    },
    "image_url": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1,
      "description": "The picture to enhance: an uploaded file_url from /v1/uploads or an external image URL (https)."
    },
    "output_format": {
      "enum": [
        "jpeg",
        "png"
      ],
      "type": "string",
      "description": "jpeg when omitted (a quarter of the bytes of png for a photograph)."
    }
  },
  "additionalProperties": false
}
Show output schema (JSON)
{
  "type": "object",
  "required": [
    "assets"
  ],
  "properties": {
    "assets": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "asset_id",
          "content_type",
          "size_bytes",
          "url"
        ],
        "properties": {
          "url": {
            "type": "string"
          },
          "asset_id": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "content_type": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "minItems": 1
    }
  },
  "additionalProperties": true
}
Limits, as GET /v1/models gives them
{
  "upload_bytes_max": 2000000000
}
What comes back, as GET /v1/models gives it
{
  "type": "image/jpeg",
  "delivery": "file",
  "resolution": "twice_input",
  "type_options": [
    "image/jpeg",
    "image/png"
  ],
  "link_expires_in_s": 3600
}

Previously called #

This model has had no other name.

Changelog #

  • Version 2 (Oct 8, 2026): The model choices are now standard and detailed. Left out, it is standard and a JPEG, as this page always said.
  • Version 1 (Sep 15, 2026): First version.

Every change, newest first, on the changelog

Other image capabilities #

Measure how far away everything is #

Give it a photograph and get back a picture of its depth: what is near is bright, what is far is dark. That is what lets a still photograph be moved through like a filmed shot instead of slid around like a postcard.

1 credit

Edit an image #

Change a photo by describing the change — swap the background, restyle, combine two references — no masks or layers.

13 credits (first megapixel) + 4 per additional

Quick image #

Turn a short written description into a picture, fast.

1 credit per megapixel

Premium image #

Our highest-quality picture from a written description — for hero shots and covers.

7 credits (first megapixel) + 4 per additional

Make a detailed picture #

Describe a scene and get back a detailed, natural-looking picture at the size of your frame. Slower than the fast picture model, and better on faces, textures and small detail.

4 credits