Blog Post
Introducing Stability AI Generative Visual Models to Azure AI Foundry
Do you have any example on how to create Image to Image in Python. Couldn't find any documentation around it?
- TinaManghnaniMar 04, 2025
Microsoft
- LuminaMentisMar 04, 2025Copper Contributor
The image to image functionality is not working. According to the Stability API reference, there is a parameter 'mode' that should be set to 'image-to-image' so that both the prompt as well as the original image are used to influence the output image. However, this is not present in the code sample you reference. Another user has seen the same issue: https://techcommunity.microsoft.com/discussions/azure-ai-services/image-to-image-generation-using-stable-diffuson-3-5-large-model/4385020
- AryanSinhaMar 06, 2025
Microsoft
The Stability AI models on Azure have a slightly different contract to support Azure's common API structure. You can go over this code sample to try the image-to-image requests.