MCP cant switch model for image generation
-
Hey Jordi how are you my freind?
So i have some problem, so when generating images with the MCP and Claude code, i cant choose the model.
I have 2 API Keys connected, OpenAI and Gemini Studio.
Now each one of them have diffrent size options.
sometimes i need to switch between them, but for that, i need every time the get inside AI Engine setting and set default model… its not only that, sometimes i dont want to pay too much, so i choose model is lower, but with the MCP is not possible… this what the Claude code write me to write you:
Subject: MCP mwai_image — per-call provider/model, quality, filename, Gemini size
Hi, we generate site images through the AI Engine MCP (3.8.2). Thank you for the new resolution input in 3.8.1, it works well. Could mwai_image also accept these optional inputs per call?
1. envId and model, so a call can use Gemini or GPT Image without changing the site's default image settings.
2. quality, for GPT Image.
3. filename, for the Media Library file (today it is always ai_<id>, which is not SEO-friendly).
4. An image size tier (imageSize: 1K / 2K / 4K) for Gemini models that support it. Today only aspectRatio is sent.
Thanks!Now, filename is already cover with a costume snippet i created, and i can choose the file name before the image generated. but choose the model is impossible… can you pull an update? or give me a workaround for this problem?
By the way, i read all the 4 Claude code asked here, and he is right… all the 4 are correct, as i said the filename is covered, but this <id> is not SEO friendly at all.
If you able to handle this problem as well, and i will delete the snippet, it can be helpful too.
The idea of the file name is important, if you choose the name before the image generated, the permalink of WordPress take the original name. if you change it in the middle of the process, after the image generated, the old permalink not changed… which is not SEO friendly at all… as i said right now i have a costume snippet cover this problem but still… i prefer AI Engine plugin will cover it and i be able to delete this snippet.
What you say Jordi? is possible?
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.