Skip to content

Releases: cdgco/dream-api

2.0.1

29 Jul 20:04
Compare
Choose a tag to compare
  • Bug Fix: Fix UnhandledPromiseRejection when nested action fails in generateImage().

2.0.0

27 Jul 03:49
Compare
Choose a tag to compare

This is a major update with many breaking changes

Due to recent restrictions on the public Wombo Dream API, dream-api now uses the official Dream API server which requires API key authentication. The official endpoint does not support user authentication, unauthenticated requests, saving to gallery, retrieving galleries, generating trading cards, purchasing prints, specifying generation frequency, etc. As a result, these functions have been removed from dream-api.

I'm very disappointed in the decisions of Wombo including the lack of feature parity between the public API and official / paid API and lack of developer support and transparency, but I want to keep this package alive and support the existing users. I understand that is a big downgrade over the original package, but it's the best I can offer.

Sign up for Wombo Dream API to get an API key..

Breaking Changes:

  • Token is now required on all endpoints which were originally optional.
  • Remove signUp() endpoint
  • Remove signIn() endpoint
  • Remove refresh() endpoint
  • Remove getUploadURL() endpoint
  • Remove getTaskShopURL() endpoint
  • Remove getTradingCardURL() endpoint
  • Remove saveToGallery() endpoint
  • Remove getGallery() endpoint
  • uploadPhoto() endpoint now takes image path and upload URL instead of buffer and token
  • createTask() endpoint now requires taskID, no longer supports frequency, and now supports image resolution
  • generateImage() endpoint now required token, takes image path instead of image buffer, supports image resolution, no longer accepts save options, and no longer support frequency.
  • Add createTaskID() endpoint

1.1.0

16 May 15:12
Compare
Choose a tag to compare

Breaking Changes:

  • Remove getTaskID endpoint

Changes:

  • Fix Task API Endpoint for Image Generation

1.0.9

22 Oct 07:26
Compare
Choose a tag to compare
  • Add Trading Card Function (getTradingCardURL)
  • Bug Fix: Update Style, Gallery and Shop API URL to current active endpoint

1.0.8

25 Jul 15:43
Compare
Choose a tag to compare
  • Store API URLs in variables for easier updating
  • Bug Fix: Update Core API URL to current active endpoint

1.0.7

25 May 04:40
efdcacd
Compare
Choose a tag to compare
  • Add settings for frequency and update interval
  • Add ability to automate checkStatus()
  • Update Documentation

1.0.6

13 May 22:09
Compare
Choose a tag to compare
  • Automated Upload Support
  • Callback Functions
  • Updated Documentation

1.0.5

12 May 21:15
Compare
Choose a tag to compare
  • Restructure API
  • Expose internal function
  • Support Input Image Generation
  • Support user credentials
  • Support save / gallery
  • Support purchase URL

1.0.3

12 May 01:54
Compare
Choose a tag to compare
v1.0.3

Update example.js