
corywilkerson/generations
Public
2
runs
Run corywilkerson/generations with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
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 |
---|---|---|---|
face_image_1 |
string
|
First face image to create professional headshots from
|
|
face_image_2 |
string
|
Optional second face image
|
|
face_image_3 |
string
|
Optional third face image
|
|
face_image_4 |
string
|
Optional fourth face image
|
|
face_image_5 |
string
|
Optional fifth face image
|
|
era_profession |
None
|
2000s_tech_worker
|
Choose a decade and profession combination for authentic period styling
|
gender |
None
|
none
|
Gender specification (leave as 'none' for auto-detection)
|
variations_per_image |
integer
|
5
Min: 1 Max: 5 |
Number of headshot variations to generate per input image (1-5)
|
seed |
integer
|
Random seed for reproducible results
|
{
"type": "object",
"title": "Input",
"required": [
"face_image_1",
"seed"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 8,
"description": "Random seed for reproducible results"
},
"gender": {
"enum": [
"male",
"female",
"none"
],
"type": "string",
"title": "gender",
"description": "Gender specification (leave as 'none' for auto-detection)",
"default": "none",
"x-order": 6
},
"face_image_1": {
"type": "string",
"title": "Face Image 1",
"format": "uri",
"x-order": 0,
"description": "First face image to create professional headshots from"
},
"face_image_2": {
"type": "string",
"title": "Face Image 2",
"format": "uri",
"x-order": 1,
"nullable": true,
"description": "Optional second face image"
},
"face_image_3": {
"type": "string",
"title": "Face Image 3",
"format": "uri",
"x-order": 2,
"nullable": true,
"description": "Optional third face image"
},
"face_image_4": {
"type": "string",
"title": "Face Image 4",
"format": "uri",
"x-order": 3,
"nullable": true,
"description": "Optional fourth face image"
},
"face_image_5": {
"type": "string",
"title": "Face Image 5",
"format": "uri",
"x-order": 4,
"nullable": true,
"description": "Optional fifth face image"
},
"era_profession": {
"enum": [
"1960s_corporate_executive",
"1960s_engineer",
"1960s_secretary",
"1970s_consultant",
"1970s_factory_supervisor",
"1970s_sales_rep",
"1980s_wall_street_broker",
"1980s_tech_engineer",
"1980s_marketing_exec",
"1990s_startup_founder",
"1990s_software_developer",
"1990s_corporate_trainer",
"2000s_tech_worker",
"2000s_business_analyst",
"2000s_project_manager",
"2010s_data_scientist",
"2010s_social_media_manager",
"2010s_app_developer",
"2020s_remote_worker",
"2020s_ai_researcher",
"2020s_product_manager"
],
"type": "string",
"title": "era_profession",
"description": "Choose a decade and profession combination for authentic period styling",
"default": "2000s_tech_worker",
"x-order": 5
},
"variations_per_image": {
"type": "integer",
"title": "Variations Per Image",
"default": 5,
"maximum": 5,
"minimum": 1,
"x-order": 7,
"description": "Number of headshot variations to generate per input image (1-5)"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output",
"x-cog-array-type": "iterator"
}