Why you don’t want to do the way you showed?
that’s one valid solution using the Function API
The summary will show your layer at the bottom as expected but the base model will be one line only, is that the problem?
you can still access the summary of the base model by using: model.get_layer(index=4).summary()