Skip to content

CreateImageRequest

Example Usage

typescript
import { CreateImageRequest } from "@meetkai/mka1/models/operations";

let value: CreateImageRequest = {
  imageGenerationRequest: {
    prompt: "A serene mountain landscape at sunset with a lake reflection",
    quality: "high",
  },
};

Fields

FieldTypeRequiredDescriptionExample
xOnBehalfOfstringOptional external end-user identifier forwarded by the API gateway.
imageGenerationRequestcomponents.ImageGenerationRequest✔️N/A{
"model": "auto",
"prompt": "A serene mountain landscape at sunset with a lake reflection",
"size": "1024x1024",
"quality": "high"
}