opt:update mj api version, wrapper chat api error message as a constant

This commit is contained in:
RockYang
2023-11-06 15:03:56 +08:00
parent 7677ae254f
commit a9b5280691
7 changed files with 18 additions and 13 deletions

View File

@@ -31,7 +31,7 @@ func (c *Client) Imagine(prompt string) error {
ChannelID: c.config.ChanelId,
SessionID: SessionID,
Data: map[string]any{
"version": "1118961510123847772",
"version": "1166847114203123795",
"id": "938956540159881230",
"name": "imagine",
"type": "1",