---
title: "Image Conversion"
method: POST
path: "/api/1688/convert-image/v1"
tags: ["1688"]
---

# Image Conversion

`POST /api/1688/convert-image/v1`

## Request

- Base URL: `https://api.justoneapi.com`
- URL: `https://api.justoneapi.com/api/1688/convert-image/v1`
- Auth: none declared

Converts an image URL or JPEG Base64 input into an image reference for a selected 1688 image search endpoint. Use it to prepare external images for visual product sourcing.

## Query parameters

- `token` string, required

## Request body

- object: Image input and the intended 1688 image search target
  - `url` string: Image URL. Supply either url or imgBase64.
  - `imgBase64` string: JPEG image encoded as Base64 without a data URI prefix; decoded size must not exceed 100 KB.
  - `searchApiEndpoint` 'standard' | 'cross_border_v1' | 'cross_border_v2': Image search target for the converted reference.

## Response `200`

OK

- object
  - `code` 0 | 100 | 101 | 202 | 300 | 301 | 302 | 303 | 400 | 404 | 500 | 503 | 600 | 601 | 602, required
  - `message` string, nullable, required
  - `data` unknown, required
  - `recordTime` string, nullable, required
  - `requestId` string
  - `reason` string
  - `requestParams` object
    - `query` object
    - `body` object
      - `empty` boolean
      - `array` boolean
      - `null` boolean
      - `object` boolean
      - `float` boolean
      - `integralNumber` boolean
      - `floatingPointNumber` boolean
      - `bigDecimal` boolean
      - `bigInteger` boolean
      - `textual` boolean
      - `nodeType` 'ARRAY' | 'BINARY' | 'BOOLEAN' | 'MISSING' | 'NULL' | 'NUMBER' | 'OBJECT' | 'POJO' | 'STRING'
      - `string` boolean
      - `missingNode` boolean
      - `valueNode` boolean
      - `container` boolean
      - `pojo` boolean
      - `short` boolean
      - `int` boolean
      - `long` boolean
      - `double` boolean
      - `boolean` boolean
      - `binary` boolean
      - `number` boolean
      - `embeddedValue` boolean

## Other responses

- `400`: Invalid request parameters or body
- `401`: Invalid or inactive access token
- `403`: Permission denied
- `429`: Request rate or daily quota limit exceeded
- `500`: Internal server error
- `503`: Service temporarily unavailable

## Changes

- **2026-10-31** `4f43dc260e5b`: 7 info
  - added the optional property `requestParams` to the response with the `200` status
  - added the optional property `requestParams` to the response with the `400` status
  - added the optional property `requestParams` to the response with the `401` status
  - added the optional property `requestParams` to the response with the `403` status
  - …3 more
- **2026-10-28** `78351643c975`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/justoneapi/apis/justoneapi-api/changes/api/1688/convert-image/v1/post.md)

---

[API](https://skmtc.dev/justoneapi/apis/justoneapi-api.md) - [All operations](https://skmtc.dev/justoneapi/apis/justoneapi-api/llms.txt) - [OpenAPI document](https://skmtc.dev/justoneapi/apis/justoneapi-api/revisions/4f43dc260e5b?raw)
