Get a list of all available AI models with their pricing information. This endpoint returns active models that can be used for prompt configuration and campaign creation.
# Pythonimport requestsdef get_models(): """Get list of available AI models""" response = requests.get( 'https://api.kakiyo.com/v1/models', headers={ 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' } ) return response.json()# Usage examplemodels = get_models()print('Available Models:', models)# Filter models by pricingbudget_models = [ model for model in models['models'] if model['pricing']['input'] <= 1.0]print(f'Budget-friendly models: {len(budget_models)}')