Generate philosophical cards
Run in Apifox
Price:Calculated based on the tokens used by the model Preset style list (the interface passes the value of the id): id style 1 Minimal 2 Natural 3 Geometric 4 Gradient
Request Body Params application/json
{
"model" : "string" ,
"style" : 0 ,
"custom_style" : "string" ,
"content" : "string" ,
"lang" : "zh" ,
"save_format" : "png"
}
Request Code Samples
curl --location --request POST 'https://api.302.ai/302/card/generate/philosophy_card' \
--header 'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "string",
"style": 0,
"custom_style": "string",
"content": "string",
"lang": "zh",
"save_format": "png"
}'
Responses application/json Generate Code
{
"data" : {
"content" : "string" ,
"file" : {
"format" : "string" ,
"url" : "string"
}
}
}
Modified at 2025-05-19 02:42:32