node
patch/api/v1/canvases/{canvasId}/direct/nodes/{nodeId}

Request

  • Base URL
    https://api.melius.com
  • URL
    https://api.melius.com/api/v1/canvases/{canvasId}/direct/nodes/{nodeId}
  • Auth
    HTTP bearer and API key in header x-team-id

Path parameters

canvasIdstring uuid required
nodeIdstring uuid required

Request body

groupPaddingnumber nullable
groupColor'default' | 'amber' | 'blue' | 'purple' | 'olive' | 'red' | 'pink' | 'green' | 'yellow' | 'null' nullable
nodeType'text' | 'image' | 'video' | 'audio' | 'file' | 'group' | 'custom_text' | 'pdf' | 'composite' | 'stitch' | 'magic_resize' | 'element'
titlestring
groupIdstring uuid nullable
textPromptstring nullable
textstring
outputAspectRatio'21:9' | '20:9' | '19.5:9' | '2:1' | '16:9' | '3:2' | '4:3' | '5:4' | '1:1' | '4:5' | '3:4' | '2:3' | '9:16' | '1:2' | '9:19.5' | '9:20' | '9:21' | 'null' nullable
outputDurationinteger nullable
generateAudioboolean
matchAudioToVideoDurationboolean nullable
seedinteger nullable
numVariationsinteger nullable
negativePromptstring nullable
stitchClipOrderstring[] nullable
stitchScaleFit'fit' | 'stretch' | 'null' nullable
stitchMuteSourceAudioboolean nullable
stitchClipTrimsobject nullable
voiceIdstring nullable
customVoiceIdstring uuid nullable

Response

200

idstring uuid required
nodeType'text' | 'image' | 'video' | 'audio' | 'file' | 'group' | 'custom_text' | 'pdf' | 'composite' | 'stitch' | 'magic_resize' | 'element' required
groupIdstring uuid nullable required
titlestring required
autoModelboolean nullable
fastModelboolean nullable
textPromptstring nullable required
outputAspectRatio'21:9' | '20:9' | '19.5:9' | '2:1' | '16:9' | '3:2' | '4:3' | '5:4' | '1:1' | '4:5' | '3:4' | '2:3' | '9:16' | '1:2' | '9:19.5' | '9:20' | '9:21' | 'null' nullable required
outputDurationinteger nullable required
generateAudioboolean nullable
matchAudioToVideoDurationboolean nullable
seedinteger nullable required
numVariationsinteger nullable required
negativePromptstring nullable required
stitchClipOrderstring[] nullable
stitchScaleFit'fit' | 'stretch' | 'null' nullable
stitchMuteSourceAudioboolean nullable
stitchClipTrimsobject nullable
voiceIdstring nullable
customVoiceIdstring nullable
srcstring nullable required
previewSrcstring nullable required
mediaType'image' | 'video' | 'audio' | 'pdf' | 'null' nullable required
generatedTextstring nullable required
activeVersionIdstring uuid nullable required
assetDurationInMsinteger nullable required
createdByUserIdstring uuid nullable required

Changes

    • warning

      added the new 1080P enum value to the / response property for the response status

    • warning

      added the new 19.5:9 enum value to the response property for the response status

    • warning

      added the new 1:2 enum value to the response property for the response status

    • warning

      added the new 20:9 enum value to the response property for the response status

    • warning

      added the new 2:1 enum value to the response property for the response status

    • warning

      added the new 480P enum value to the / response property for the response status

    • warning

      added the new 768P enum value to the / response property for the response status

    • warning

      added the new 9:19.5 enum value to the response property for the response status

    • warning

      added the new 9:20 enum value to the response property for the response status

    • warning

      added the new element enum value to the response property for the response status

    • warning

      added the new undefined enum value to the response property for the response status

    • warning

      added the new undefined enum value to the response property for the response status

    • warning

      added the new undefined enum value to the response property for the response status

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new 1080P enum value to the request property /

    • info

      added the new 19.5:9 enum value to the request property

    • info

      added the new 1:2 enum value to the request property

    • info

      added the new 20:9 enum value to the request property

    • info

      added the new 2:1 enum value to the request property

    • info

      added the new 480P enum value to the request property /

    • info

      added the new 768P enum value to the request property /

    • info

      added the new 9:19.5 enum value to the request property

    • info

      added the new 9:20 enum value to the request property

    • info

      added the new element enum value to the request property

    • info

      added the new undefined enum value to the request property

    • info

      added the new undefined enum value to the request property

    • info

      added the optional property to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status