We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e69337c commit 4a4d1fdCopy full SHA for 4a4d1fd
src/Midjourney.Base/JsonExtensions.cs
@@ -32,9 +32,9 @@ public static string ToJson<T>(this T obj)
32
return JsonConvert.SerializeObject(obj);
33
}
34
35
- public static T ToObject<T>(this string json)
+ public static T ToObject<T>(this string json, JsonSerializerSettings settings = null)
36
{
37
- return JsonConvert.DeserializeObject<T>(json);
+ return JsonConvert.DeserializeObject<T>(json, settings);
38
39
40
/// <summary>
src/Midjourney.Base/Models/Enums.cs
@@ -314,7 +314,12 @@ public enum TaskAction
314
315
/// 高级重绘
316
/// </summary>
317
- RETEXTURE
+ RETEXTURE,
318
+
319
+ /// <summary>
320
+ /// 图生文 - 文生图
321
+ /// </summary>
322
+ PIC_READER
323
324
325
0 commit comments