UNPKG

@useapi/midjourney-api

Version:

TypeScript client library for Midjourney API by useapi.net

99 lines (91 loc) 2.45 kB
export class JobsBlendPostRequest { /** * Must contain at least 2 valid URL image links, up to 5 URL image links supported */ 'blendUrls': Array<string>; 'blendDimensions'?: JobsBlendPostRequestBlendDimensionsEnum; /** * Discord token */ 'discord': string; /** * Discord server id */ 'server': string; /** * Discord channel id */ 'channel': string; /** * Optional Maximum Concurrent Jobs for current Midjourney subscription */ 'maxJobs'?: number; /** * Optional callback URL, API will call the provided replyUrl once generation completed */ 'replyUrl'?: string; /** * Optional reference id which will be stored and returned along with this job response / result */ 'replyRef'?: string; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{ name: string, baseName: string, type: string, format: string }> = [ { "name": "blendUrls", "baseName": "blendUrls", "type": "Array<string>", "format": "" }, { "name": "blendDimensions", "baseName": "blendDimensions", "type": "JobsBlendPostRequestBlendDimensionsEnum", "format": "" }, { "name": "discord", "baseName": "discord", "type": "string", "format": "" }, { "name": "server", "baseName": "server", "type": "string", "format": "" }, { "name": "channel", "baseName": "channel", "type": "string", "format": "" }, { "name": "maxJobs", "baseName": "maxJobs", "type": "number", "format": "" }, { "name": "replyUrl", "baseName": "replyUrl", "type": "string", "format": "" }, { "name": "replyRef", "baseName": "replyRef", "type": "string", "format": "" }]; static getAttributeTypeMap() { return JobsBlendPostRequest.attributeTypeMap; } public constructor() { } } export enum JobsBlendPostRequestBlendDimensionsEnum { Portrait = 'Portrait', Square = 'Square', Landscape = 'Landscape' }