/ Модель

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

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

JoyAI-Image-Edit

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

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

102скачиваний за 30 дней141лайквеса обновлены7 мая 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

Ограничения

Для работы требуется GPU с CUDA. Для управления камерой README задаёт фиксированный набор параметров и значений масштабирования; качество результатов за пределами описанных сценариев не уточняется.

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

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

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

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

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

Открыть на Hugging Face

Arxiv 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

1. Environment Setup

Requirements: Python >= 3.10, CUDA-capable GPU

Create a virtual environment and install:

git clone https://github.com/jd-opensource/JoyAI-Image
cd JoyAI-Image
conda create -n joyai python=3.10 -y
conda activate joyai

pip install -e .

Note on Flash Attention: flash-attn >= 2.8.0 is listed as a dependency for best performance.

Core Dependencies

PackageVersionPurpose
torch>= 2.8PyTorch
transformers>= 4.57.0, < 4.58.0Text encoder
diffusers>= 0.34.0Pipeline utilities
flash-attn>= 2.8.0Fast attention kernel

2. Inference

Image Editing

python inference.py \
  --ckpt-root /path/to/ckpts_infer \
  --prompt "Turn the plate blue" \
  --image test_images/test_1.jpg \
  --output outputs/result.png \
  --seed 123 \
  --steps 50 \
  --guidance-scale 4.0 \
  --basesize 1024

CLI Reference (inference.py)

ArgumentTypeDefaultDescription
--ckpt-rootstrrequiredCheckpoint root
--promptstrrequiredEdit instruction or T2I prompt
--imagestrNoneInput image path (required for editing, omit for T2I)
--outputstrexample.pngOutput image path
--stepsint50Denoising steps
--guidance-scalefloat4.0Classifier-free guidance scale
--seedint42Random seed for reproducibility
--neg-promptstr""Negative prompt
--basesizeint1024Bucket base size for input image resizing (256/512/768/1024)
--configstrautoConfig path; defaults to <ckpt-root>/infer_config.py
--rewrite-promptflagoffEnable LLM-based prompt rewriting
--hsdp-shard-dimint1FSDP shard dimension for multi-GPU (set to GPU count)

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 apple 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 chair to show the front side view.
Rotate the car to show the rear 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 45°, Pitch 0°.
- Camera zoom: in.
- Keep the 3D scene static; only change the viewpoint.
Move the camera.
- Camera rotation: Yaw -90°, Pitch 20°.
- 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, 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

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

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

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

Ревизия весов
20af57b

0 моделей