Technology

Apple released an open-source AI image editing model

Apple logo prominently featured on the face of an Apple Store

Apple is dabbling in AI image-editing with an open-source multimodal AI model.

Earlier this week, researchers from Apple and the University of California, Santa Barbara released MLLM-Guided Image Editing, or “MGIE;” a multimodal AI model that can edit images like Photoshop, based on simple text commands.

On the AI development front, Apple has been characteristically cautious about its plans. It was also one of the few companies that didn’t announce any big AI plans in the wake of last year’s ChatGPT hype. However, Apple reportedly has an in-house version of a ChatGPT-esque chatbot dubbed “Apple GPT” and Tim Cook said Apple will be making some major AI announcements later this year.

Whether this announcement includes an AI image editing tool remains to be seen, but based on this model, Apple is definitely doing some research and development.

While there are already AI image editing tools out there, “human instructions are sometimes too brief for current methods to capture and follow,” said the research paper. This often leads to lackluster or failed results. MGIE is a different approach that uses MLLMs, or multimodal large language models, to understand the text prompts or “expressive instruction,” as well as image training data. Effectively, learning from MLLMs helps MGIE understand natural language commands without the need for heavy description.

In examples from the research, MGIE can take an input image of a pepperoni pizza and using the prompt, “make this more healthy” infer that “this” is referring to the pepperoni pizza and “more healthy” can be interpreted as adding vegetables. Thus, the output image is a pepperoni pizza with some green vegetables scattered on top.

In another example comparing MGIE to other models, the input image is a forested shoreline and a tranquil body of water. With the prompt “add lightning and make the water reflect the lightning,” other models omit the lightning reflection, but MGIE successfully captures it.

MGIE is available as an open-source model on GitHub and as a demo version hosted on Hugging Face.

Mashable