File size: 1,034 Bytes
5cb2132
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
  "reasoning_effort": "xhigh",
  "temperature": 1.0,
  "top_p": 0.95,
  "top_k": 20,
  "min_p": 0.0,
  "presence_penalty": 0.0,
  "repetition_penalty": 1.0,
  "chat_template_kwargs": {
    "enable_thinking": true,
    "preserve_thinking": true
  },
  "response_format": {
    "type": "json_schema",
    "json_schema": {
      "name": "expanded_caption_and_aspect_ratio",
      "strict": true,
      "schema": {
        "type": "object",
        "properties": {
          "expanded_caption": {
            "type": "string"
          },
          "aspect_ratio": {
            "type": "string",
            "enum": [
              "1:1",
              "5:4",
              "4:3",
              "3:2",
              "16:9",
              "21:9",
              "4:5",
              "3:4",
              "2:3",
              "9:16"
            ]
          }
        },
        "required": [
          "expanded_caption",
          "aspect_ratio"
        ],
        "additionalProperties": false
      }
    }
  },
  "max_tokens": 4096
}