-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample_generate_response.json
More file actions
38 lines (38 loc) · 1.04 KB
/
Copy pathexample_generate_response.json
File metadata and controls
38 lines (38 loc) · 1.04 KB
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
{
"request_id": "a902bfce-4c12-4217-ba5c-8902c3ef32f3",
"generated_image": "<base64_encoded_png_image>",
"clip_analysis": {
"global_concepts": [
"a red kite flying over a coastal cliff",
"a colorful scene",
"a landscape"
],
"confidence_scores": {
"a photo": 0.15,
"a clear image": 0.05,
"a colorful scene": 0.28,
"a landscape": 0.24,
"a red kite flying over a coastal cliff": 0.89
},
"summary": "A high-altitude shot of a red kite soaring over coastal cliffs under a bright sky.",
"regional_analysis": []
},
"basic_segmentation": {
"masks": [
"<base64_encoded_png_mask_1>",
"<base64_encoded_png_mask_2>"
],
"polygons": [
[[15, 15], [15, 30], [30, 30], [30, 15]],
[[60, 60], [60, 120], [120, 120], [120, 60]]
],
"segmented_regions": [
{
"region_id": "region-1",
"polygon": [[15, 15], [15, 30], [30, 30], [30, 15]],
"image_base64": "<base64_encoded_cropped_image>",
"clip_analysis": {}
}
]
}
}