MediaRuntime 제품

이미지 처리

JPG, PNG, WebP, AVIF 변환, 반응형 파생 이미지 생성, 맞춤 및 자르기 제어, 배경 제거, 계정 워터마크 적용을 비동기로 수행합니다.

다중 포맷 및 다중 크기 파생본
fit, cover, contain 및 fill 모드
스마트 크롭, 배경 제거 및 워터마크
POST https://mediaruntime.com/v1/transcode

소스에서 결과물 전달까지

1

Provide one image

Use a fetchable HTTPS URL for a supported source image, or use the optional upload flow when the source exists only as local bytes.

2

Describe every derivative

Set the target width, height, mode, format and quality for each image required by your product.

3

Consume the manifest

Read the completed job’s output manifest or bundle; generated files have source metadata removed for privacy.

구축할 수 있는 기능

Format conversion

Convert supported sources to JPG, PNG, WebP, or AVIF. Use the source dimensions when only the encoding should change.

Responsive derivatives

Create several widths, aspect ratios and formats in one job for web, mobile, social cards, thumbnails, or product catalogs.

Precise geometry

Use fit to stay inside a box, cover to crop and fill it, contain to pad it, or fill to force exact dimensions.

Premium visual processing

Request WebP/AVIF, larger derivative sets, wider outputs, smart crop, background removal, moderation, or an account watermark.

관련 프리셋

image_multi_v1Formats: jpg · png · webp · avifModes: fit · cover · contain · fillOptional: smart crop · background removal · moderation · watermark

작업 요청 예제

신뢰할 수 있는 서버에서 MediaRuntime API 키로 제출하세요. 소스는 작업 시간 동안 접근 가능한 HTTPS URL이면 되며 MediaRuntime 업로드는 선택 사항입니다.

{
  "file_url": "https://cdn.example.com/media/product-photo.png",
  "metadata": {
    "media_type": "image",
    "asset_id": "product-photo-0426"
  },
  "outputs": [
    {
      "type": "image",
      "preset": "image_multi_v1",
      "path_suffix": "responsive",
      "images": [
        {
          "width": 1600,
          "height": 1200,
          "mode": "fit",
          "format": "webp",
          "quality": 84
        },
        {
          "width": 600,
          "height": 600,
          "mode": "cover",
          "format": "jpg",
          "quality": 88
        }
      ]
    }
  ]
}