n8n-nodes-useapi
Version:
Ability to use multiple Midjourney, Riffusion, Mureka, Runway, MiniMax, InsightFaceSwap, Pika and PixVerse accounts complete with automated load balancing.
148 lines • 4.3 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.gen4Fields = void 0;
exports.gen4Fields = [
{
displayName: 'First Image Asset ID',
name: 'firstImage_assetId',
type: 'string',
required: true,
default: '',
description: 'ID of the first image asset. Use "Get Assets" operation to find image assets.',
displayOptions: {
show: {
resource: ['runway'],
operation: ['gen4Create'],
},
},
},
{
displayName: 'Text Prompt',
name: 'text_prompt',
type: 'string',
required: false,
default: '',
description: 'Describe your shot. Creating with Gen-4.',
displayOptions: {
show: {
resource: ['runway'],
operation: ['gen4Create'],
},
},
},
{
displayName: 'Aspect Ratio',
name: 'aspect_ratio',
type: 'options',
default: '16:9',
options: [
{
name: '16:9 (Landscape)',
value: '16:9',
},
{
name: '9:16 (Portrait)',
value: '9:16',
},
{
name: '1:1 (Square)',
value: '1:1',
},
{
name: '4:3',
value: '4:3',
},
{
name: '3:4',
value: '3:4',
},
{
name: '21:9 (Widescreen)',
value: '21:9',
},
],
description: 'Aspect ratio of the generated video',
displayOptions: {
show: {
resource: ['runway'],
operation: ['gen4Create'],
},
},
},
{
displayName: 'Duration (Seconds)',
name: 'seconds',
type: 'options',
default: 5,
options: [
{
name: '5 Seconds',
value: 5,
},
{
name: '10 Seconds',
value: 10,
},
],
description: 'Length of the generated video in seconds',
displayOptions: {
show: {
resource: ['runway'],
operation: ['gen4Create'],
},
},
},
{
displayName: 'Additional Options',
name: 'additionalOptions',
type: 'collection',
placeholder: 'Add Option',
default: {},
displayOptions: {
show: {
resource: ['runway'],
operation: ['gen4Create'],
},
},
options: [
{
displayName: 'Seed',
name: 'seed',
type: 'number',
default: '',
description: 'Random seed for generation (1-4294967294). Leave empty for random seed.',
placeholder: 'e.g. 123456',
},
{
displayName: 'Explore Mode',
name: 'exploreMode',
type: 'boolean',
default: false,
description: 'Enable if you have a Runway Unlimited plan. You are not charged credits for Explore mode generations.',
},
{
displayName: 'Reply URL',
name: 'replyUrl',
type: 'string',
default: '',
description: 'URL to receive generation notifications. The API will call this URL once the task is complete or fails.',
placeholder: 'https://webhook.site/your-id',
},
{
displayName: 'Reply Reference',
name: 'replyRef',
type: 'string',
default: '',
description: 'Your reference ID which will be included in the response',
},
{
displayName: 'Max Jobs',
name: 'maxJobs',
type: 'number',
default: 5,
description: 'Maximum number of parallel jobs (1-10)',
},
],
},
];
//# sourceMappingURL=Gen4Description.js.map