You're looking at a specific version of this model. Jump to the model overview.

datong-new /idphoto:cd085c66

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
image
string
Upload image
image_template
string
Upload template image
hair_change
boolean
True
change hair of template or not
seed
integer
0

Max: 100000

seed
type
string (enum)
大一寸

Options:

小一寸, 一寸, 大一寸, 小两寸, 两寸, 大两寸, 三寸, 四寸, 在职研究生考试, 普通话水平测试

type of id photo
height
integer

Min: 200

Max: 2000

height
width
integer

Min: 200

Max: 2000

width

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'properties': {'images': {'items': {'format': 'uri', 'type': 'string'},
                           'title': 'Images',
                           'type': 'array'}},
 'required': ['images'],
 'title': 'Output',
 'type': 'object'}