covabasic_depict
Generate 2D molecule depiction(s). Returns SVG string or base64-encoded PNG.
Single molecule: provide smiles. Add highlight_smarts to highlight a substructure.
Grid of molecules: provide smiles_list (list of SMILES) + optional legends.
img_format: "svg" (default, scalable) or "png" (base64-encoded).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| height | No | ||
| smiles | No | ||
| api_key | No | ||
| legends | No | ||
| img_format | No | svg | |
| smiles_list | No | ||
| mols_per_row | No | ||
| highlight_smarts | No |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |