image-upscaling

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Image Upscaling

图片放大

Upscale and enhance images using each::sense. This skill provides AI-powered image upscaling from 2x to 16x resolution with intelligent enhancement options for faces, noise reduction, and detail preservation.
借助each::sense对图片进行放大和增强。该Skill提供由AI驱动的图片放大功能,支持2倍至16倍分辨率提升,同时具备智能人脸增强、降噪和细节保留选项。

Features

功能特性

  • 2x Upscaling: Quick enhancement for web images and social media
  • 4x Upscaling: High-quality output for print materials
  • 8x/16x Upscaling: Large format displays, billboards, posters
  • Face Enhancement: Intelligent facial detail restoration during upscale
  • Noise Reduction: Clean up grainy or compressed images while upscaling
  • Old Photo Restoration: Revive vintage and damaged photographs
  • AI Art Enhancement: Preserve and enhance AI-generated artwork details
  • Product Image Enhancement: E-commerce ready high-resolution product shots
  • 2倍放大:为网页图片和社交媒体提供快速增强
  • 4倍放大:为印刷物料提供高质量输出
  • 8倍/16倍放大:适用于大幅面显示屏、广告牌、海报
  • 人脸增强:放大过程中智能恢复面部细节
  • 降噪处理:放大同时清理颗粒感或压缩失真的图片
  • 老照片修复:还原老旧和受损的照片
  • AI艺术作品增强:保留并增强AI生成艺术作品的细节
  • 商品图片增强:生成适合电商平台的高分辨率商品图

Quick Start

快速开始

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Upscale this image 4x for print quality",
    "image_urls": ["https://example.com/my-image.jpg"],
    "mode": "max"
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Upscale this image 4x for print quality",
    "image_urls": ["https://example.com/my-image.jpg"],
    "mode": "max"
  }'

Upscaling Scale Factors

放大比例说明

ScaleOutput Size (from 1024px)Best Use Case
2x2048pxWeb images, social media, thumbnails
4x4096pxPrint materials, high-res displays
8x8192pxLarge format prints, posters
16x16384pxBillboards, exhibition displays
比例输出尺寸(基于1024px原图)最佳适用场景
2x2048px网页图片、社交媒体、缩略图
4x4096px印刷物料、高分辨率显示屏
8x8192px大幅面印刷品、海报
16x16384px广告牌、展览显示屏

Use Case Examples

应用场景示例

1. 2x Upscaling for Web Images

1. 网页图片2倍放大

Perfect for improving image quality for websites, social media posts, and digital marketing.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Upscale this web image 2x. Optimize for fast loading while improving sharpness and clarity. The image will be used on a website hero section.",
    "image_urls": ["https://example.com/website-hero.jpg"],
    "mode": "eco"
  }'
非常适合提升网站、社交媒体帖子和数字营销素材的图片质量。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Upscale this web image 2x. Optimize for fast loading while improving sharpness and clarity. The image will be used on a website hero section.",
    "image_urls": ["https://example.com/website-hero.jpg"],
    "mode": "eco"
  }'

2. 4x Upscaling for Print

2. 印刷用4倍放大

High-quality upscaling for brochures, flyers, magazines, and other print materials requiring 300 DPI.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Upscale this image 4x for print production. I need 300 DPI quality for a magazine spread. Preserve all fine details and ensure crisp edges.",
    "image_urls": ["https://example.com/magazine-photo.jpg"],
    "mode": "max"
  }'
为宣传册、传单、杂志等需要300 DPI的印刷物料提供高质量放大。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Upscale this image 4x for print production. I need 300 DPI quality for a magazine spread. Preserve all fine details and ensure crisp edges.",
    "image_urls": ["https://example.com/magazine-photo.jpg"],
    "mode": "max"
  }'

3. 8x/16x Upscaling for Large Format

3. 大幅面用8倍/16倍放大

Extreme upscaling for billboards, trade show displays, and wall-sized prints.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Upscale this image 8x for a large format banner print. The final output will be displayed on a 10 foot wide trade show backdrop. Maximize detail enhancement and ensure no artifacts.",
    "image_urls": ["https://example.com/tradeshow-banner.jpg"],
    "mode": "max"
  }'
为广告牌、展会展示和墙面尺寸印刷品提供极致放大。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Upscale this image 8x for a large format banner print. The final output will be displayed on a 10 foot wide trade show backdrop. Maximize detail enhancement and ensure no artifacts.",
    "image_urls": ["https://example.com/tradeshow-banner.jpg"],
    "mode": "max"
  }'

4. Face Enhancement During Upscale

4. 放大时启用人脸增强

Intelligent facial restoration that enhances eyes, skin texture, and facial features while upscaling portraits.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Upscale this portrait 4x with face enhancement enabled. Restore facial details, enhance eyes, improve skin texture while keeping it natural. This is a headshot photo.",
    "image_urls": ["https://example.com/portrait-headshot.jpg"],
    "mode": "max"
  }'
智能面部修复,在放大肖像时增强眼部、皮肤纹理和面部特征。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Upscale this portrait 4x with face enhancement enabled. Restore facial details, enhance eyes, improve skin texture while keeping it natural. This is a headshot photo.",
    "image_urls": ["https://example.com/portrait-headshot.jpg"],
    "mode": "max"
  }'

5. Noise Reduction + Upscale

5. 降噪+放大

Clean up grainy, compressed, or low-quality images while increasing resolution.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Upscale this noisy low-light photo 4x. Apply aggressive noise reduction while preserving important details. The image was taken in low light conditions and has visible grain and compression artifacts.",
    "image_urls": ["https://example.com/low-light-photo.jpg"],
    "mode": "max"
  }'
在提升分辨率的同时,清理颗粒感强、压缩失真或低质量的图片。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Upscale this noisy low-light photo 4x. Apply aggressive noise reduction while preserving important details. The image was taken in low light conditions and has visible grain and compression artifacts.",
    "image_urls": ["https://example.com/low-light-photo.jpg"],
    "mode": "max"
  }'

6. Old Photo Upscaling

6. 老照片放大

Restore and upscale vintage photographs, old family photos, and historical images.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Upscale and restore this old family photograph from the 1970s. The image is faded, slightly damaged, and low resolution. Enhance to 4x while restoring colors, fixing damage, and improving clarity. Preserve the vintage aesthetic.",
    "image_urls": ["https://example.com/old-family-photo.jpg"],
    "mode": "max"
  }'
还原并放大老式照片、家庭旧照和历史图片。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Upscale and restore this old family photograph from the 1970s. The image is faded, slightly damaged, and low resolution. Enhance to 4x while restoring colors, fixing damage, and improving clarity. Preserve the vintage aesthetic.",
    "image_urls": ["https://example.com/old-family-photo.jpg"],
    "mode": "max"
  }'

7. AI Art Upscaling

7. AI艺术作品放大

Enhance AI-generated artwork while preserving artistic style and avoiding artifacts.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Upscale this AI-generated artwork 4x for print. Preserve the artistic style and enhance fine details. This is digital art created by an AI image generator - avoid adding unwanted textures or changing the artistic style.",
    "image_urls": ["https://example.com/ai-artwork.png"],
    "mode": "max"
  }'
增强AI生成的艺术作品,同时保留艺术风格并避免失真。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Upscale this AI-generated artwork 4x for print. Preserve the artistic style and enhance fine details. This is digital art created by an AI image generator - avoid adding unwanted textures or changing the artistic style.",
    "image_urls": ["https://example.com/ai-artwork.png"],
    "mode": "max"
  }'

8. Product Image Upscaling

8. 商品图片放大

E-commerce optimized upscaling for product photography with detail enhancement.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Upscale this product photo 4x for e-commerce use. Enhance product details, improve sharpness on edges and textures. The image is of a leather handbag and needs to show material texture clearly for zoom functionality.",
    "image_urls": ["https://example.com/product-handbag.jpg"],
    "mode": "max"
  }'
为电商场景优化的商品图放大,增强细节。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Upscale this product photo 4x for e-commerce use. Enhance product details, improve sharpness on edges and textures. The image is of a leather handbag and needs to show material texture clearly for zoom functionality.",
    "image_urls": ["https://example.com/product-handbag.jpg"],
    "mode": "max"
  }'

9. Video Frame Upscaling

9. 视频帧放大

Enhance individual video frames or thumbnails extracted from video content.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Upscale this video frame 4x. This is a still frame extracted from 1080p video footage. Enhance it to 4K quality while reducing compression artifacts and maintaining natural motion blur where present.",
    "image_urls": ["https://example.com/video-frame.jpg"],
    "mode": "max"
  }'
增强从视频中提取的单帧画面或缩略图。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Upscale this video frame 4x. This is a still frame extracted from 1080p video footage. Enhance it to 4K quality while reducing compression artifacts and maintaining natural motion blur where present.",
    "image_urls": ["https://example.com/video-frame.jpg"],
    "mode": "max"
  }'

10. Batch Upscaling Workflow

10. 批量放大工作流

Process multiple images with consistent settings using session persistence.
bash
undefined
使用会话持久化功能,以一致的设置处理多张图片。
bash
undefined

First image in batch

批量处理第一张图

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Upscale this product image 4x with face enhancement and noise reduction. This is the first of a series of product photos I need processed.", "image_urls": ["https://example.com/product-001.jpg"], "session_id": "batch-upscale-products", "mode": "max" }'
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Upscale this product image 4x with face enhancement and noise reduction. This is the first of a series of product photos I need processed.", "image_urls": ["https://example.com/product-001.jpg"], "session_id": "batch-upscale-products", "mode": "max" }'

Second image (same session maintains settings)

批量处理第二张图(相同会话保持设置)

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Upscale this next product image using the same settings as before.", "image_urls": ["https://example.com/product-002.jpg"], "session_id": "batch-upscale-products" }'
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Upscale this next product image using the same settings as before.", "image_urls": ["https://example.com/product-002.jpg"], "session_id": "batch-upscale-products" }'

Third image

批量处理第三张图

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Continue with the same upscaling settings for this product image.", "image_urls": ["https://example.com/product-003.jpg"], "session_id": "batch-upscale-products" }'
undefined
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Continue with the same upscaling settings for this product image.", "image_urls": ["https://example.com/product-003.jpg"], "session_id": "batch-upscale-products" }'
undefined

Best Practices

最佳实践

Choosing Scale Factor

选择放大比例

  • 2x: Sufficient for most web and social media use cases
  • 4x: Standard for print quality (300 DPI equivalent)
  • 8x+: Only for large format where viewing distance is greater
  • 2倍:满足大多数网页和社交媒体场景需求
  • 4倍:印刷质量的标准选择(等效300 DPI)
  • 8倍及以上:仅适用于观看距离较远的大幅面场景

Quality Tips

质量提升技巧

  • Source Quality Matters: Higher quality input produces better upscaled output
  • File Format: Use PNG or high-quality JPEG (90%+) as input when possible
  • Face Enhancement: Enable only for images with human faces
  • Noise Reduction: Use aggressively for low-light or heavily compressed images
  • 原图质量很重要:输入图片质量越高,放大后的输出效果越好
  • 文件格式:尽可能使用PNG或高质量JPEG(90%以上)作为输入
  • 人脸增强:仅在包含人脸的图片中启用
  • 降噪处理:在低光或严重压缩的图片中使用高强度降噪

Output Considerations

输出注意事项

  • File Size: Higher scale factors produce significantly larger files
  • Processing Time: 8x and 16x upscaling takes longer - be patient
  • Viewing Distance: Large format prints are viewed from distance; extreme detail isn't always necessary
  • 文件大小:放大比例越高,生成的文件体积越大
  • 处理时间:8倍和16倍放大耗时更长,请耐心等待
  • 观看距离:大幅面印刷品是远距离观看的,并非始终需要极致细节

Prompt Tips for Image Upscaling

图片放大提示词技巧

When requesting upscaling, include these details in your prompt:
  1. Scale Factor: Specify 2x, 4x, 8x, or 16x
  2. Use Case: Web, print, large format display
  3. Image Type: Photo, AI art, product shot, portrait
  4. Special Requirements: Face enhancement, noise reduction, artifact removal
  5. Output Intent: Final use case helps optimize processing
请求放大时,请在提示词中包含以下细节:
  1. 放大比例:指定2倍、4倍、8倍或16倍
  2. 应用场景:网页、印刷、大幅面显示屏
  3. 图片类型:照片、AI艺术作品、商品图、肖像
  4. 特殊需求:人脸增强、降噪、失真去除
  5. 输出用途:明确最终使用场景有助于优化处理效果

Example Prompt Structure

提示词结构示例

"Upscale this [image type] [scale factor] for [use case].
[Special requirements like face enhancement or noise reduction].
[Additional context about the source image quality or intended output]."
"将这张[图片类型]放大[比例],用于[应用场景]。
[特殊需求,如人脸增强或降噪]。
[关于原图质量或预期输出的额外说明]。"

Mode Selection

模式选择

Ask your users before processing:
"Do you want fast & cheap, or high quality?"
ModeBest ForSpeedQuality
max
Final production images, print materials, important projectsSlowerHighest
eco
Quick previews, batch testing, web thumbnailsFasterGood
处理前请询问用户:
"您需要快速低成本的处理,还是高质量的处理?"
模式最佳适用场景速度质量
max
最终成品图、印刷物料、重要项目较慢最高
eco
快速预览、批量测试、网页缩略图较快良好

Multi-Turn Upscaling Workflow

多轮次放大工作流

Use
session_id
to iterate on upscaling results:
bash
undefined
使用
session_id
迭代优化放大结果:
bash
undefined

Initial upscale

初始放大

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Upscale this photo 4x for print", "image_urls": ["https://example.com/photo.jpg"], "session_id": "upscale-project-001" }'
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Upscale this photo 4x for print", "image_urls": ["https://example.com/photo.jpg"], "session_id": "upscale-project-001" }'

Request adjustments

请求调整

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "The result looks good but can you also apply face enhancement and reduce noise?", "session_id": "upscale-project-001" }'
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "The result looks good but can you also apply face enhancement and reduce noise?", "session_id": "upscale-project-001" }'

Request different scale

请求调整放大比例

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Actually I need 8x for a larger print. Can you upscale it further?", "session_id": "upscale-project-001" }'
undefined
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Actually I need 8x for a larger print. Can you upscale it further?", "session_id": "upscale-project-001" }'
undefined

Error Handling

错误处理

ErrorCauseSolution
Failed to create prediction: HTTP 422
Insufficient balanceTop up at eachlabs.ai
Image too largeSource image exceeds maximum dimensionsResize source image before upscaling
TimeoutLarge scale factors take longerSet client timeout to minimum 10 minutes
Unsupported formatInvalid image formatUse JPEG, PNG, or WebP input
错误原因解决方案
Failed to create prediction: HTTP 422
余额不足前往eachlabs.ai进行充值
图片过大原图尺寸超过最大限制放大前先调整原图尺寸
超时高比例放大耗时较长将客户端超时时间设置为至少10分钟
格式不支持图片格式无效使用JPEG、PNG或WebP格式的输入图片

Related Skills

相关Skill

  • each-sense
    - Core API documentation
  • image-generation
    - Generate images from text prompts
  • image-editing
    - Edit and modify existing images
  • old-photo-restoration
    - Specialized restoration for vintage photos
  • each-sense
    - 核心API文档
  • image-generation
    - 从文本提示词生成图片
  • image-editing
    - 编辑和修改现有图片
  • old-photo-restoration
    - 针对老照片的专业修复功能