@datafire/deeparteffects

5.0.0 • Public • Published

@datafire/deeparteffects

Client library for Deep Art Effects

Installation and Usage

npm install --save @datafire/deeparteffects
let deeparteffects = require('@datafire/deeparteffects').create({
  api_key: "",
  sigv4: ""
});

.then(data => {
  console.log(data);
});

Description

Actions

noauth.result.get

deeparteffects.noauth.result.get({}, context)

Input

  • input object
    • submissionId string

Output

noauth.styles.get

deeparteffects.noauth.styles.get(null, context)

Input

This action has no parameters

Output

noauth.upload.post

deeparteffects.noauth.upload.post({
  "UploadRequest": {}
}, context)

Input

Output

Definitions

Empty

  • Empty Schema object

Error

  • Error Schema object
    • message string

Result

  • GetResult Schema object
    • status string: Submissiond status. Can be 'new', 'error', 'processing', 'finished'
    • url string: Result url for the artwork

Style

  • Style Schema object
    • description string: Style description
    • id string: The unique identifier for a style
    • title string: Style title
    • url string: Style URL

Styles

  • List Styles Schema object
    • styles array

UploadRequest

  • Request schema for a submission object
    • imageBase64Encoded string: Base64 decoded image
    • imageSize integer: Image size in px. Picture will be resized for processing.
    • optimizeForPrint boolean: Use this flag to get an artwork optimized for print.
    • partnerId string: The unique identifier for a partner with dedicated api access.
    • styleId string: The unique identifier for a style
    • useOriginalColors boolean: Use this flag to use the original color from your photo for the artwork.

UploadResponse

  • Response Schema for upload request object
    • submissionId string

Readme

Keywords

none

Package Sidebar

Install

npm i @datafire/deeparteffects

Weekly Downloads

3

Version

5.0.0

License

MIT

Unpacked Size

12.9 kB

Total Files

4

Last publish

Collaborators

  • datafire