MCPcopy Create free account
hub / github.com/AntiHub-Project/AntiHub / ImageGenerationRequest

Interface ImageGenerationRequest

lib/api.ts:1046–1056  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1044}
1045
1046export interface ImageGenerationRequest {
1047 model: string;
1048 prompt: string;
1049 imageConfig?: ImageGenerationConfig;
1050 apiType?: ApiType;
1051 // 图生图:附带的图片数据
1052 inputImage?: {
1053 mimeType: string;
1054 data: string; // Base64 编码的图片数据
1055 };
1056}
1057
1058export interface ImageGenerationResponse {
1059 candidates: Array<{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected