Request
Body Params application/json
{
"images": [
"https://file.302ai.cn/gpt/imgs/20250728/compressed_7845edf3b9374d0b946d16f58c677091.jpeg",
"https://file.302ai.cn/gpt/imgs/20250728/compressed_cf0196b13aca415897180899c308f53e.jpeg"
],
"frame_border": 0,
"frame_border_colors": [
"string"
],
"image_labels": [
"string"
],
"image_labels_bg_color": "string",
"image_labels_text_color": "string",
"image_labels_font_size": 0,
"orientation": "horizontal",
"resize_strategy": "reduce_larger",
"keep_aspect_ratio": true,
"alignment": "start",
"output_format": "png",
"output_quality": 1
}
Request Code Samples
curl --location --request POST 'https://api.302.ai/302/image_tools/merge' \
--header 'Authorization: Bearer sk-mfYQzy0XTFfz4P16vRE4gFrKK1Nly4TozsMqbbb9PSiJUvFO' \
--header 'Content-Type: application/json' \
--data-raw '{
"images": [
"https://file.302ai.cn/gpt/imgs/20250728/compressed_7845edf3b9374d0b946d16f58c677091.jpeg",
"https://file.302ai.cn/gpt/imgs/20250728/compressed_cf0196b13aca415897180899c308f53e.jpeg"
],
"frame_border": 0,
"frame_border_colors": [
"string"
],
"image_labels": [
"string"
],
"image_labels_bg_color": "string",
"image_labels_text_color": "string",
"image_labels_font_size": 0,
"orientation": "horizontal",
"resize_strategy": "reduce_larger",
"keep_aspect_ratio": true,
"alignment": "start",
"output_format": "png",
"output_quality": 1
}'
Modified at 2025-08-14 11:45:25