r/grok•
FranckWebPro

Mask parameter not working in the API?

Hi,

I'm adding Grok Images to my application, and while the mask is clearly marked as a valid parameter in the documentation (https://docs.x.ai/developers/api-reference#image-edit), the API always returns a

{

status: 400,

message: '{"code":"400","error":"Argument not supported:

mask"}',

name: 'ProviderError',

userId: '93594fcb-cdd0-4aae-a20d-935cc74acfca',

validated: true,

isProviderError: true

}

Did you experience it as well? I didn't find any other information about this

Posted Feb 11, 2026, 10:27 PM UTC

01
Loading comments…