L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

ccsr

ccsr

CCSR Upscaler. Upscale and enhance images using the CCSR model with advanced tiling and color correction. Triggers: ccsr upscaler, image upscale, super resolution, enhance image, upscale image, image enhancement, ccsr

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: ccsr description: "CCSR Upscaler. Upscale and enhance images using the CCSR model with advanced tiling and color correction. Triggers: ccsr upscaler, image upscale, super resolution, enhance image, upscale image, image enhancement, ccsr" allowed-tools: Bash(curl *), WebFetch

CCSR Upscaler

Upscale and enhance images using the CCSR (Content Consistent Super-Resolution) model. Supports configurable scale factors, color correction methods, tile-based processing for large images, and fine-grained control over the diffusion process.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "ccsr",
    "version": "0.0.1",
    "input": {
      "image_url": "https://example.com/low-res-photo.jpg",
      "scale": 2,
      "steps": 50
    }
  }'

Parameters

ParameterTypeDefaultDescription
color_fix_typestringadainColor correction method. Options: none, wavelet, adain
image_urlstring-URL of the image to upscale
scalenumber2Upscale factor
seedinteger-Random seed for reproducible results
stepsinteger50Number of inference steps. Higher values produce better quality but take longer
t_maxnumber0.6667Maximum timestep for the diffusion process
t_minnumber0.3333Minimum timestep for the diffusion process
tile_diffusionstringnoneTile diffusion mode. Options: none, mix, gaussian
tile_diffusion_sizeinteger1024Size of tiles for tile diffusion
tile_diffusion_strideinteger-Stride for tile diffusion
tile_vaebooleanfalseEnable tile-based VAE processing for large images
tile_vae_decoder_sizeinteger226Size of tiles for VAE decoder
tile_vae_encoder_sizeinteger1024Size of tiles for VAE encoder

Examples

Basic 2x upscale:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "ccsr",
    "version": "0.0.1",
    "input": {
      "image_url": "https://example.com/small-portrait.jpg",
      "scale": 2,
      "steps": 50,
      "color_fix_type": "adain"
    }
  }'

High-quality upscale with tiling for large images:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "ccsr",
    "version": "0.0.1",
    "input": {
      "image_url": "https://example.com/landscape.jpg",
      "scale": 4,
      "steps": 60,
      "tile_diffusion": "gaussian",
      "tile_diffusion_size": 1024,
      "tile_vae": true,
      "color_fix_type": "wavelet"
    }
  }'

Related Models

Documentation

Skills enregistrées