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
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.
https://upload.wikimedia.org/wikipedia/commons/thumb/4/47/PNG_transparency_demonstration_1.png/280px-PNG_transparency_demonstration_1.pngTarget output resolution. Use '2k' for standard upscaling or '4k' for ultra-high-definition output.
2kExample: 2kPossible values: 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.
50Example: 50Format of the returned image. Use 'url' to receive a hosted download link, or 'b64_json' to receive the image as base64-encoded data.
urlExample: urlPossible values: 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"
}'{
"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.
Last updated
Was this helpful?