n8n-nodes-useapi
Version:
Ability to use multiple Midjourney, Riffusion, Mureka, Runway, MiniMax, InsightFaceSwap, Pika and PixVerse accounts complete with automated load balancing.
94 lines • 3.03 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.imagesCreateFields = exports.IMAGES_CREATE_OPERATION = void 0;
const shared_1 = require("../constants/shared");
exports.IMAGES_CREATE_OPERATION = 'imagesCreate';
exports.imagesCreateFields = [
{
displayName: 'Prompt',
name: 'prompt',
type: 'string',
required: true,
displayOptions: {
show: {
resource: ['minimax'],
operation: ['imagesCreate'],
},
},
default: '',
description: 'Text prompt describing the image to create (max 1250 characters)',
typeOptions: {
rows: 4,
maxLength: 1250,
},
},
{
displayName: 'Additional Options',
name: 'additionalOptions',
type: 'collection',
placeholder: 'Add Option',
default: {},
displayOptions: {
show: {
resource: ['minimax'],
operation: ['imagesCreate'],
},
},
options: [
{
displayName: 'Prompt Optimization',
name: 'promptOptimization',
type: 'boolean',
default: true,
description: 'Whether to enable prompt optimization',
},
{
displayName: 'Model',
name: 'model',
type: 'options',
options: [
{
name: 'image-01',
value: 'image-01',
},
],
default: 'image-01',
description: 'Model to use for image generation',
},
{
displayName: 'Aspect Ratio',
name: 'aspectRatio',
type: 'options',
options: shared_1.ASPECT_RATIO_OPTIONS,
default: '16:9',
description: 'Set the aspect ratio for the generated image',
},
{
displayName: 'Quantity',
name: 'quantity',
type: 'number',
typeOptions: {
minValue: 1,
maxValue: 4,
},
default: 1,
description: 'Number of images to generate (1-4)',
},
{
displayName: 'Reply URL',
name: 'replyUrl',
type: 'string',
default: '',
description: 'URL to receive callbacks when image generation is completed or failed',
},
{
displayName: 'Reference ID',
name: 'replyRef',
type: 'string',
default: '',
description: 'Your reference ID which will be returned with the image response/result',
},
],
},
];
//# sourceMappingURL=ImagesCreateDescription.js.map
;