
AI Card Generation
API Overview
Use AI to generate various types of cards, including the 27 different style templates shown below: https://aa41ef6e.302ai.app
API Console
Log in to explore more features! Click to Log In
API Reference (4)
| API Description | API Endpoint | Request Method | Stability | Parameter Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Generate Knowledge Card | POST | Stable | View Details | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Document Details You can view the specific styles at: https://302.ai/product/detail/ai-card-generation Preset style list (the interface passes the value of the id):
Request Parameters Header ParametersAuthorizationstringRequired Example Value: Bearer {{YOUR_API_KEY}}Request Body application/jsonmodelstringRequired styleintegerOptional Preset style id — see the list in the documentation for details; passing 0 means randomly selecting one. Default value: 0 custom_stylestringOptional Custom style — has higher priority than style; if this field has a value, the style parameter will not take effect datestringOptional Time information displayed on the card contentstringOptional Theme/Quote content is_extractbooleanOptional False = Based on theme input mode, True = Extract quote mode. Default value: false langenum<string>Optional Language of the content generated in the card Enum Value: zhenjaqr_codeobjectOptional QR code contentstringOptional Has higher priority than the image parameter imagestringOptional Supports public image URLs and base64 images starting with data:image save_formatenum<string>Optional Format for saving the knowledge card Enum Value: png | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Generate Poster | POST | Stable | View Details | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Document Details You can view the specific styles at: https://302.ai/product/detail/ai-card-generation Price: Calculated based on the tokens used by the model Preset style list (the interface passes the value of the id):
Request Parameters Header ParametersAuthorizationstringRequired Example Value: Bearer {{YOUR_API_KEY}}Request Body application/jsonmodelstringRequired styleintegerOptional Preset style id — see the list in the documentation for details; passing 0 means randomly selecting one. Default value: 0 custom_stylestringOptional Custom style — has higher priority than style; if this field has a value, the style parameter will not take effect contentstringOptional Theme/Quote content langenum<string>Optional Language of the content generated in the card Enum Value: zhenjasave_formatenum<string>Optional Format for saving the knowledge card Enum Value: png | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Generate philosophical cards | POST | Stable | View Details | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Document Details You can view the specific styles at: https://302.ai/product/detail/ai-card-generation Price:Calculated based on the tokens used by the model Preset style list (the interface passes the value of the id):
Request Parameters Header ParametersAuthorizationstringRequired Example Value: Bearer {{YOUR_API_KEY}}Request Body application/jsonmodelstringRequired styleintegerOptional Preset style id — see the list in the documentation for details; passing 0 means randomly selecting one. Default value: 0 custom_stylestringOptional Custom style — has higher priority than style; if this field has a value, the style parameter will not take effect contentstringOptional Theme/Quote content langenum<string>Optional Language of the content generated in the card Enum Value: zhenjasave_formatenum<string>Optional Format for saving the knowledge card Enum Value: png | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Generate philosophical quotation sayings | POST | Stable | View Details | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Document Details You can view the specific styles at: https://302.ai/product/detail/ai-card-generation Price:Calculated based on the tokens used by the model Preset style list (the interface passes the value of the id):
Request Parameters Header ParametersAuthorizationstringRequired Example Value: Bearer {{YOUR_API_KEY}}Request Body application/jsonmodelstringRequired styleintegerOptional Preset style id — see the list in the documentation for details; passing 0 means randomly selecting one. Default value: 0 custom_stylestringOptional Custom style — has higher priority than style; if this field has a value, the style parameter will not take effect contentstringOptional Theme/Quote content save_formatenum<string>Optional Save format Enum Value: pnglocationstringOptional The position of the person’s name on the card creatorstringOptional The person’s name displayed on the card | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
API Pricing
| Model | Description | 302.AI Price |
|---|
Generate Knowledge Card | Generate Knowledge Card |
|
Generate Poster | Generate Poster |
|
Generate philosophical cards | Generate philosophical cards |
|
Generate philosophical quotation sayings | Generate philosophical quotation sayings |
|