Skip to content

Commit

Permalink
Updated readme to remove the mime type argument
Browse files Browse the repository at this point in the history
  • Loading branch information
realcoloride authored Jan 15, 2024
1 parent bda3f9f commit 2d1cd94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ The last part of the URL is the character ID:
await chat.generateImage("dolphins swimming in green water");

// If no mime type (file extension) is specified, the script will automatically detect it
await chat.uploadImage("https://www.example.com/image.jpg", "image/jpeg");
await chat.uploadImage("https://www.example.com/image.jpg");
await chat.uploadImage("./photos/image.jpg");

// Other supported types are Buffers, Readable Streams, File Paths, and URLs
Expand Down

0 comments on commit 2d1cd94

Please sign in to comment.