@useapi/midjourney-api
Version:
TypeScript client library for Midjourney API by useapi.net
64 lines (63 loc) • 1.67 kB
TypeScript
export declare class ButtonResponse {
'jobid': string;
'verb': ButtonResponseVerbEnum;
'status': ButtonResponseStatusEnum;
'created': string;
'updated': string;
'button': ButtonResponseButtonEnum;
'parentJobId': string;
'channel': string;
'server': string;
'maxJobs': number;
'code': ButtonResponseCodeEnum;
static readonly discriminator: string | undefined;
static readonly attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
format: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
format: string;
}[];
constructor();
}
export declare enum ButtonResponseVerbEnum {
Button = "button"
}
export declare enum ButtonResponseStatusEnum {
Started = "started",
Completed = "completed"
}
export declare enum ButtonResponseButtonEnum {
U1 = "U1",
U2 = "U2",
U3 = "U3",
U4 = "U4",
V1 = "V1",
V2 = "V2",
V3 = "V3",
V4 = "V4",
ButtonLeft = "\u2B05\uFE0F",
ButtonRight = "\u27A1\uFE0F",
ButtonUp = "\u2B06\uFE0F",
ButtonDown = "\u2B07\uFE0F",
ButtonReroll = "\uD83D\uDD04",
VaryStrong = "Vary (Strong)",
VarySubtle = "Vary (Subtle)",
ZoomOut15x = "Zoom Out 1.5x",
ZoomOut2x = "Zoom Out 2x",
Upscale2x = "Upscale (2x)",
Upscale4x = "Upscale (4x)",
RedoUpscale2x = "Redo Upscale (2x)",
RedoUpscale4x = "Redo Upscale (4x)",
MakeSquare = "Make Square",
MakeVariations = "Make Variations",
Remaster = "Remaster"
}
export declare enum ButtonResponseCodeEnum {
NUMBER_200 = 200
}