Token导航 LogoToken导航TokenDH.com
图像处理敏感数据clawhub未标认证来源可访问clear审计通过

mediaio-image-to-image-apimediaio 图像 TO 图像 API

Agent Skill

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

总安装

4,563

周安装

194

GitHub Stars

公开资料未说明

下载量

1,599
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mediaio-image-to-image-api(mediaio 图像 TO 图像 API)
来源仓库:https://github.com/wondershare-boop/mediaio-image-to-image-api
安装命令:
openclaw skills install mediaio-image-to-image-api
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install mediaio-image-to-image-api

简介

通过 Media.io OpenAPI 实现图像风格转换和艺术滤镜应用。

  • 支持创意转换如艺术化重绘和主题迁移。
  • 适用于 API 集成与图像服务接口开发辅助。
  • 安装命令:openclaw skills install mediaio-image-to-image-api。
  • 建议确认鉴权方式与错误处理规则,避免凭空补字段。

SKILL.md

name
mediaio-image-to-image-api
description
Transform existing images into new ones using AI via Media.io OpenAPI. Apply style transfers, artistic filters, and creative transformations with models like Seedream, Nano Banana, and more.
metadata
{"mediaio":{"emoji":"🎨","requires":{"env":["API_KEY"]}},"publisher":"Community Maintainer","source":"https://platform.media.io/docs/","homepage":"https://developer.media.io/"}

MediaIO Image to Image API Skill

Overview

This skill provides Image-to-Image transformation capabilities through the Media.io OpenAPI. Transform your existing images into new creations using state-of-the-art AI models for style transfers, artistic filters, and creative transformations.

Trigger Keywords

Use this skill when you hear:

  • "image to image", "image-to-image API", "transform image"
  • "style transfer", "image transformation", "edit image with AI"
  • "apply artistic filter to image", "image remixing"

Supported Models

The Image-to-Image API supports multiple models:

  • Seedream 4.0 (i2i-seedream-v4-0) - High aesthetic quality, 4K support, character consistency
  • Nano Banana Pro (i2i-banana-2) - Advanced reasoning, multi-image fusion
  • Nano Banana (i2i-banana) - Fast and efficient generation
  • Media 2.0 (i2i-media-2.0) - Proprietary native model

Requirements

Environment Variables

VariableRequiredDescription
API_KEYYesMedia.io OpenAPI key, sent as X-API-KEY header. Apply at <https://developer.media.io/>.

API Details

Image-to-Image Transformation

Seedream 4.0 (Recommended for Quality)

  • API Name: Seedream 4.0
  • Model Code: i2i-seedream-v4-0
  • Endpoint: POST https://openapi.media.io/generation/seedream/i2i-seedream-v4-0
  • Description: A versatile powerhouse supporting 4K generation and advanced editing.

Request Parameters

ParameterTypeRequiredDescription
promptstringYesText description for transformation
imagestringYesReference image URL for transformation
ratiostringNoImage aspect ratio
strengthstringNoHow strongly to follow the reference image (0.0-1.0)

Common Response Structure

{
  "code": 0,
  "msg": "",
  "data": {
    "task_id": "..."
  },
  "trace_id": "..."
}

Quick Start

1) Install Dependency

pip install requests

2) Initialize Skill

import os
from scripts.skill_router import Skill

skill = Skill('scripts/c_api_doc_detail.json')
api_key = os.getenv('API_KEY', '')
if not api_key:
    raise RuntimeError('API_KEY is not set')

3) Configure Environment Variable API_KEY

Windows PowerShell:

$env:API_KEY="your-api-key"

macOS / Linux (bash/zsh):

export API_KEY="your-api-key"

Usage Examples (Python)

Style Transfer

import os
from scripts.skill_router import Skill

skill = Skill('scripts/c_api_doc_detail.json')
api_key = os.getenv('API_KEY', '')
if not api_key:
    raise RuntimeError('API_KEY is not set')

result = skill.invoke(
    'Seedream 4.0',
    {
        'prompt': 'transform this photo into an oil painting in the style of Van Gogh, vibrant colors, visible brushstrokes',
        'image': 'https://example.com/input-image.jpg'
    },
    api_key=api_key
)
print(result)  # Returns task_id when code=0

Artistic Enhancement

import os
from scripts.skill_router import Skill

skill = Skill('scripts/c_api_doc_detail.json')
api_key = os.getenv('API_KEY', '')
if not api_key:
    raise RuntimeError('API_KEY is not set')

result = skill.invoke(
    'Nano Banana Pro',
    {
        'prompt': 'enhance this portrait with dramatic cinematic lighting, professional photography quality, shallow depth of field',
        'image': 'https://example.com/portrait.jpg'
    },
    api_key=api_key
)
print(result)

Creative Transformation

import os
from scripts.skill_router import Skill

skill = Skill('scripts/c_api_doc_detail.json')
api_key = os.getenv('API_KEY', '')
if not api_key:
    raise RuntimeError('API_KEY is not set')

result = skill.invoke(
    'Seedream 4.0',
    {
        'prompt': 'convert this landscape into a cyberpunk cityscape at night, neon lights, rain reflections, futuristic atmosphere',
        'image': 'https://example.com/landscape.jpg',
        'ratio': '16:9'
    },
    api_key=api_key
)
print(result)

Image Remixing

import os
from scripts.skill_router import Skill

skill = Skill('scripts/c_api_doc_detail.json')
api_key = os.getenv('API_KEY', '')
if not api_key:
    raise RuntimeError('API_KEY is not set')

result = skill.invoke(
    'Nano Banana',
    {
        'prompt': 'reimagine this image as a watercolor painting, soft edges, pastel colors, artistic interpretation',
        'image': 'https://example.com/original.jpg',
        'strength': '0.7'
    },
    api_key=api_key
)
print(result)

Query Task Result

import os
import time
from scripts.skill_router import Skill

skill = Skill('scripts/c_api_doc_detail.json')
api_key = os.getenv('API_KEY', '')
if not api_key:
    raise RuntimeError('API_KEY is not set')

task_id = 'your-task-id'

for _ in range(24):
    r = skill.invoke('Task Result', {'task_id': task_id}, api_key=api_key)
    print(r)
    status = (r.get('data') or {}).get('status')
    if status in ('completed', 'failed', 'succeeded'):
        break
    time.sleep(5)

Task Status Reference

  • waiting: queued
  • processing: running
  • completed: completed successfully
  • failed: failed
  • timeout: timed out

Model Comparison

ModelBest ForResolutionSpeed
Seedream 4.0High quality, artisticUp to 4KMedium
Nano Banana ProAdvanced reasoning, fusionUp to 4KMedium
Nano BananaFast transformationsUp to 4KFast
Media 2.0Diverse stylesStandardFast

Common Transformations

Style Transfers

  • Oil painting, watercolor, pencil sketch
  • Anime/manga style
  • Pixel art, 8-bit style
  • Cinematic movie still

Enhancements

  • Professional photography quality
  • Dramatic lighting
  • Color grading
  • Depth of field effects

Creative Transformations

  • Season changes (summer to winter)
  • Time of day changes
  • Architecture style conversion
  • Fantasy/sci-fi conversion

Error Handling

Error CodeDescription
374004Not authenticated. Apply for an APP KEY at https://developer.media.io/
490505Insufficient credits. Recharge before invoking generation APIs

Tips for Better Results

  1. Use High-Quality Input: Better source images yield better transformations
  2. Be Specific in Prompts: Describe both the transformation and desired outcome
  3. Adjust Strength: Use lower strength (0.3-0.5) to preserve more of the original
  4. Match Aspect Ratios: Keep output ratio similar to input for best results

External Resources

  • API documentation: https://platform.media.io/docs/
  • Product overview: https://developer.media.io/
  • Credit purchase: https://developer.media.io/pricing.html

Related Files

  • scripts/skill_router.py: core routing logic
  • scripts/c_api_doc_detail.json: API definitions

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

78.21%
按下载量换算1,251

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills