For the complete documentation index, see llms.txt. This page is also available as Markdown.

Dreamina Creative Upscale

This documentation is valid for the following list of our models:

  • bytedance/dreamina-creative-upscale

Model Overview

Dreamina Creative Upscale — image super-resolution model from ByteDance. Enhances AI-generated and low-resolution images with support for high-quality 2K and 4K output resolution.

Setup your API Key

If you don't have an API key for the AI/ML API yet, feel free to use our Quickstart guide.

API Schema

post
Body
modelstring · enumRequiredPossible values:
image_urlstring · uriRequired

URL or data URL of the input image to upscale. Supported formats: JPEG, PNG. Maximum file size: 4.7 MB. Maximum resolution: 4096×4096 px.

Example: https://upload.wikimedia.org/wikipedia/commons/thumb/4/47/PNG_transparency_demonstration_1.png/280px-PNG_transparency_demonstration_1.png
resolutionstring · enumOptional

Target output resolution. Use '2k' for standard upscaling or '4k' for ultra-high-definition output.

Default: 2kExample: 2kPossible values:
scaleinteger · max: 100Optional

Degree of detail generation during upscaling, from 0 (minimal enhancement) to 100 (maximum detail generation). Higher values produce more generated detail but may diverge from the source image.

Default: 50Example: 50
response_formatstring · enumOptional

Format of the returned image. Use 'url' to receive a hosted download link, or 'b64_json' to receive the image as base64-encoded data.

Default: urlExample: urlPossible values:
Responses
200Success
application/json
post/v1/images/generations
curl -L \
  --request POST \
  --url 'https://api.aimlapi.com/v1/images/generations' \
  --header 'Authorization: Bearer <YOUR_AIMLAPI_KEY>' \
  --header 'Content-Type: application/json' \
  --data '{
      "model": "bytedance/dreamina-creative-upscale",
      "image_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/47/PNG_transparency_demonstration_1.png/280px-PNG_transparency_demonstration_1.png",
      "resolution": "2k",
      "scale": 50,
      "response_format": "url"
    }'
200Success
{
  "data": [
    {
      "url": "https://cdn.aimlapi.com/generations/hedgehog/1749730923700-29fe35d2-4aef-4bc5-a911-6c39884d16a8.png",
      "b64_json": null
    }
  ],
  "meta": {
    "usage": {
      "credits_used": 120000,
      "usd_spent": 0.06
    }
  }
}

Quick Example

Let's upscale an image to 2K resolution.

Response

Last updated

Was this helpful?