UNPKG

n8n-nodes-useapi

Version:

Ability to use multiple Midjourney, Riffusion, Mureka, Runway, MiniMax, InsightFaceSwap, Pika and PixVerse accounts complete with automated load balancing.

65 lines 2.09 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.imagineFields = exports.IMAGINE_OPERATION = exports.RESOURCE_NAME = void 0; const shared_1 = require("../constants/shared"); exports.RESOURCE_NAME = 'midjourney'; exports.IMAGINE_OPERATION = 'imagine'; exports.imagineFields = [ { displayName: 'Prompt', name: 'prompt', type: 'string', typeOptions: { rows: 4, minLength: 3, maxLength: 2000, }, default: '', required: true, displayOptions: { show: { resource: [exports.RESOURCE_NAME], operation: [exports.IMAGINE_OPERATION], }, }, description: 'Text prompt describing the image to create (3-2000 characters)', }, { displayName: 'Additional Options', name: 'additionalOptions', type: 'collection', placeholder: 'Add Option', default: {}, displayOptions: { show: { resource: [exports.RESOURCE_NAME], operation: [exports.IMAGINE_OPERATION], }, }, options: [ { displayName: 'Aspect Ratio', name: 'aspectRatio', type: 'options', options: shared_1.ASPECT_RATIO_OPTIONS, default: '', description: 'Set the aspect ratio for the generated image', }, { displayName: 'Reply URL', name: 'replyUrl', type: 'string', default: '', description: 'URL to receive callbacks once the job is completed', }, { displayName: 'Reference ID', name: 'replyRef', type: 'string', default: '', description: 'Your reference ID which will be returned with this job response/result', }, ], }, ]; //# sourceMappingURL=ImagineDescription.js.map