/ Модель

Характеристики

Лицензия
Apache 2.0
Опубликована
10 апр 2026

JoyAI-Image-Edit-Diffusers

Преобразование изображенийИзображение, текст → изображение3 профессии

JoyAI-Image-Edit — модель JD Open Source для управляемого редактирования изображений по текстовым инструкциям, включая перемещение и поворот объектов и изменение ракурса камеры.

67 435скачиваний за 30 дней23лайкавеса обновлены9 мая 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

JoyAI-Image-Edit — мультимодальная модель компании JD Open Source для редактирования изображений по текстовым инструкциям. Она использует пространственное понимание сцены, включая разбор объектов и их взаимного расположения, чтобы выполнять точные управляемые изменения.

Модель предназначена для переноса объектов в заданную область, изменения их ориентации и управления ракурсом камеры с настройкой поворота, наклона и приближения. Для работы описан конвейер JoyImageEditPipeline на базе Diffusers; в примерах требуются Python 3.10 или новее и GPU с поддержкой CUDA. В репозитории указаны форматы Diffusers и safetensors, лицензия Apache-2.0.

Инструкции позволяют задавать целевой объект и параметры изменения, а также сохранять окружающую сцену или геометрию при смене ракурса. Доступные материалы не сообщают размер модели, длину контекста и конкретный перечень поддерживаемых языков; метаданные карточки содержат языковые метки en и zh.

Сценарии применения

  • перемещение объекта в заданную область изображения
  • поворот выбранного объекта в заданном направлении
  • изменение ракурса камеры с настройкой поворота и наклона
  • приближение или отдаление камеры на изображении
  • редактирование сцены с сохранением окружающего содержимого

Ограничения

Для работы требуется GPU с поддержкой CUDA; README сообщает, что JoyImageEditPipeline должен появиться в будущей официальной версии Diffusers, поэтому пока может понадобиться установка Diffusers из исходников. Описанные примеры охватывают перемещение и поворот объектов и управление камерой, но качество и поведение в других сценариях не охарактеризованы.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Report PDF Project Hugging Face  ModelScope  Demo  License

🐶 JoyAI-Image-Edit

JoyAI-Image-Edit is a multimodal foundation model specialized in instruction-guided image editing. It enables precise and controllable edits by leveraging strong spatial understanding, including scene parsing, relational grounding, and instruction decomposition, allowing complex modifications to be applied accurately to specified regions.

🚀 Quick Start

Requirements: Python >= 3.10, CUDA-capable GPU

Install

Note: JoyImageEditPipeline will be included in the next official diffusers release (>0.38.0). Until then, install from source as shown above.

pip install torch transformers torchvision
pip install git+https://github.com/huggingface/diffusers.git

Running with Diffusers

import torch
from PIL import Image

from diffusers import JoyImageEditPipeline

pipeline = JoyImageEditPipeline.from_pretrained("jdopensource/JoyAI-Image-Edit-Diffusers")
pipeline.to(torch.bfloat16)
pipeline.to("cuda")
pipeline.set_progress_bar_config(disable=None)
print("pipeline loaded")

img_path = "./test_images/input.png"
prompt = "Remove the construction structure from the top of the crane."
image = Image.open(img_path).convert("RGB")

inputs = {
    "image": image,
    "prompt": prompt,
    "generator": torch.manual_seed(0),
    "num_inference_steps": 40,
    "guidance_scale": 4.0,
}

print("run pipeline...")

with torch.inference_mode():
    output = pipeline(**inputs)
    image = output.images[0]
    image.save("joyai_image_edit_output.png")
    print("image saved.")

More Usages

Spatial Editing Reference

JoyAI-Image supports three spatial editing prompt patterns: Object Move, Object Rotation, and Camera Control. For the most stable behavior, we recommend following the prompt templates below as closely as possible.

1. Object Move

Use this pattern when you want to move a target object into a specified region.

Prompt template:

Move the <object> into the red box and finally remove the red box.

Rules:

  • Replace <object> with a clear description of the target object to be moved.
  • The red box indicates the target destination in the image.
  • The phrase "finally remove the red box" means the guidance box should not appear in the final edited result.

Example:

Move the board into the red box and finally remove the red box.

2. Object Rotation

Use this pattern when you want to rotate an object to a specific canonical view.

Prompt template:

Rotate the <object> to show the <view> side view.

Supported <view> values:

  • front
  • right
  • left
  • rear
  • front right
  • front left
  • rear right
  • rear left

Rules:

  • Replace <object> with a clear description of the object to rotate.
  • Replace <view> with one of the supported directions above.
  • This instruction is intended to change the object orientation, while keeping the object identity and surrounding scene as consistent as possible.

Examples:

Rotate the dog to show the left side view.

3. Camera Control

Use this pattern when you want to change only the camera viewpoint while keeping the 3D scene itself unchanged.

Prompt template:

Move the camera.
- Camera rotation: Yaw {y_rotation}°, Pitch {p_rotation}°.
- Camera zoom: in/out/unchanged.
- Keep the 3D scene static; only change the viewpoint.

Rules:

  • {y_rotation} specifies the yaw rotation angle in degrees.

  • {p_rotation} specifies the pitch rotation angle in degrees.

  • Camera zoom must be one of:

    • in
    • out
    • unchanged
  • The last line is important: it explicitly tells the model to preserve the 3D scene content and geometry, and only adjust the camera viewpoint.

Examples:

Move the camera.
- Camera rotation: Yaw 0.0°, Pitch -15.0°.
- Camera zoom: unchanged.
- Keep the 3D scene static; only change the viewpoint.

License Agreement

JoyAI-Image is licensed under Apache 2.0.

☎️ We're Hiring!

We are actively hiring Research Scientists, AI Infra Engineers, and Interns to join us in building next-generation generative foundation models and bringing them into real-world applications. If you’re interested, please send your resume to: huanghaoyang.ocean@jd.com

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Нельзя запустить

Модели «картинка → картинка» пока не запускаются.

Ревизия весов
4b41fb2

0 моделей