AI Gateway

Browse GraphQL domains.

Queries

OperationDescription
accountInferencePolicyGet account inference policy.
inferencePolicyRead which models a project allows and denies, its default model, and what it inherits from its account; returns the served defaults when the project stores no policy.

Mutations

OperationDescription
createImageGenerationGenerate 1 to 10 images from a text prompt with the EU image model and return their URLs; every image is billed in credits.
deleteAccountInferencePolicyRemove the model policy of an account, so its projects may use every model again; returns an acknowledgement.
deleteInferencePolicyRemove the stored inference policy of a project so it is served the defaults again; returns an acknowledgement.
patchInferencePolicyUpdate the models a project allows and denies and its default model, replacing each key sent; returns the policy.
updateAccountInferencePolicyUpdate the models an account allows and denies and its default model, replacing each key sent; returns the policy.