hercai
Version:
A powerful library for interacting with the Herc.ai API
14 lines (13 loc) • 429 B
TypeScript
export declare namespace ImageGenerations {
type ImageBuffer = Buffer;
interface CreateImageGenerations {
prompt: string;
model: string;
negative_prompt?: string;
steps?: number;
size?: '256x256' | '512x512' | '1024x1024' | '1:1' | '4:3' | '3:2' | '16:9' | '9:16' & string;
seed?: string;
response_format?: ImageResponse;
}
type ImageResponse = 'buffer';
}